Skip to main content
A newer version of this page is available. .
.NET Standard 2.0+

PdfDocumentProcessor.GetImages(PdfDocumentPosition, PdfDocumentPosition, Single) Method

Retrieves the images found within the specified document positions using image resolution.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v19.1.dll

Declaration

public IList<Bitmap> GetImages(
    PdfDocumentPosition startPosition,
    PdfDocumentPosition endPosition,
    float imageResolution
)

Parameters

Name Type Description
startPosition PdfDocumentPosition

A PdfDocumentPosition object that is the initial document position, starting from which, the images is obtained.

endPosition PdfDocumentPosition

A PdfDocumentPosition object that is the final document position, starting from which, images are not obtained.

imageResolution Single

A Single object that represents the value, in dots per inch, for the image resolution.

Returns

Type Description
IList<Bitmap>

A collection of Bitmap objects.

Remarks

The overloaded GetImages method uses the page coordinate system. See the Coordinate Systems topic to learn more.

The GetImages method does not work in Partial Trust environments and requires the Full Trust permission level.

Important

The GetImages method uses GDI/GDI+ rendering and works only on Windows OS. The PlatformNotSupportedException is thrown on other operating systems.


See Also