Chinese Simplified (简体中文)

RemoveFromPage Method of the PDFPicture Object

This method deletes a picture position from a document page.



HRESULT RemoveFromPage( int PageIndex );


void RemoveFromPage( int PageIndex );

Visual Basic .NET

Sub RemoveFromPage( PageIndex As Integer )


[in] Specifies the page index from which a picture position should be deleted. The default value is -1, which means that the image position will be deleted from all pages, provided that the same value for page index has been specified using the SetLocation method. If you need to delete the pictures positions from certain pages, you should list the indexes of the desired pages, for example, (4, 8, 11, 19).


Alternatively, you may also use the DeleteAt method to remove an element from the collection.

Return values

This function has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also


24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.