.NET Framework 4.5.2+
.NET Framework 4.5.2+
.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.v20.1.dll

Declaration

public IList<Bitmap> GetImages(
    PdfDocumentPosition startPosition,
    PdfDocumentPosition endPosition,
    float imageResolution
)
Public Function GetImages(
    startPosition As PdfDocumentPosition,
    endPosition As PdfDocumentPosition,
    imageResolution As Single
) As IList(Of Bitmap)

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