[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfDocument.GetImages

GetImages Method

GetImages(float, float, bool, bool)

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.

Declaration
public IList<PdfImageInfo> GetImages(float dpiX = 72, float dpiY = 72, bool ignoreErrors = true, bool includeUnreferencedImages = true)
Public Function GetImages(Optional dpiX As Single = 72, Optional dpiY As Single = 72, Optional ignoreErrors As Boolean = True, Optional includeUnreferencedImages As Boolean = True) As IList(Of PdfImageInfo)
Parameters
Type Name Description
float dpiX

The horizontal resolution used to calculate the bounds of images on pages.

float dpiY

The vertical resolution used to calculate the bounds of images on pages.

bool ignoreErrors

Indicates whether to ignore errors in PDF during processing.

bool includeUnreferencedImages

Indicates whether to include images that are not referenced from content streams.

Returns
Type Description
IList<PdfImageInfo>

The list of images present in this document.