PdfDocumentProcessor.GetImages(PdfDocumentPosition, PdfDocumentPosition, Single) Method
Retrieves the images found within the specified document positions using image resolution.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Docs.v24.1.dll
NuGet Package: DevExpress.Document.Processor
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 following topic for more information: Coordinate Systems.
The GetImages
method requires that your application runs under Full Trust.
Warning
The GetImages
method uses GDI/GDI+ rendering and works only on Windows OS. The PlatformNotSupportedException
is thrown on other operating systems. Use the GetDXImages
method in non-Windows environments.