ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFImageFinder Class / FindImages Method / FindImages(ImGearPDFDocument,Int32) Method
The document to search for images.
The page in the document to search.




In This Topic
    FindImages(ImGearPDFDocument,Int32) Method
    In This Topic
    Retrieves all images on a page given by an index in a PDF document.
    Syntax
    'Declaration
     
    Public Overloads Function FindImages( _
       ByVal document As ImGearPDFDocument, _
       ByVal pageIndex As Integer _
    ) As IList(Of ImGearPDEImage)
    'Usage
     
    Dim instance As ImGearPDFImageFinder
    Dim document As ImGearPDFDocument
    Dim pageIndex As Integer
    Dim value As IList(Of ImGearPDEImage)
     
    value = instance.FindImages(document, pageIndex)
    public IList<ImGearPDEImage> FindImages( 
       ImGearPDFDocument document,
       int pageIndex
    )
    public: IList<ImGearPDEImage*>* FindImages( 
       ImGearPDFDocument* document,
       int pageIndex
    ) 
    public:
    IList<ImGearPDEImage^>^ FindImages( 
       ImGearPDFDocument^ document,
       int pageIndex
    ) 

    Parameters

    document
    The document to search for images.
    pageIndex
    The page in the document to search.

    Return Value

    An object containing all images on the specified page.
    Exceptions
    ExceptionDescription
    Thrown when document is null.
    Thrown when pageIndex does not fall within the page count of the document.
    Remarks
    See Also