Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / GetImages Method
The horizontal resolution used to calculate the bounds of images on pages.
The vertical resolution used to calculate the bounds of images on pages.
Indicates whether to ignore errors in PDF during processing.
Indicates whether to include images that are not referenced from content streams.

In This Topic
    GetImages Method (GcPdfDocument)
    In This Topic
    Gets the list of images in this GcPdfDocument.

    Note that for large documents this method can take a while to complete, as it enumerates the content streams of all pages in the document.

    Syntax
    'Declaration
     
    Public Function GetImages( _
       Optional ByVal dpiX As System.Single, _
       Optional ByVal dpiY As System.Single, _
       Optional ByVal ignoreErrors As System.Boolean, _
       Optional ByVal includeUnreferencedImages As System.Boolean _
    ) As System.Collections.Generic.IList(Of PdfImageInfo)
    public System.Collections.Generic.IList<PdfImageInfo> GetImages( 
       System.float dpiX,
       System.float dpiY,
       System.bool ignoreErrors,
       System.bool includeUnreferencedImages
    )

    Parameters

    dpiX
    The horizontal resolution used to calculate the bounds of images on pages.
    dpiY
    The vertical resolution used to calculate the bounds of images on pages.
    ignoreErrors
    Indicates whether to ignore errors in PDF during processing.
    includeUnreferencedImages
    Indicates whether to include images that are not referenced from content streams.

    Return Value

    The list of images present in this document.
    See Also