PdfDocumentProcessor.CreateDXBitmap(Int32, PdfPageRenderingParameters) Method
In This Article
Exports a PDF page to a bitmap image with specified rendering parameters. Use this method in non-Windows environments.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Docs.v24.2.dll
NuGet Package: DevExpress.Document.Processor
#Declaration
public DXBitmap CreateDXBitmap(
int pageNumber,
PdfPageRenderingParameters options
)
#Parameters
Name | Type | Description |
---|---|---|
page |
Int32 | A page number. |
options | Pdf |
An object that contains page rendering parameters. |
#Returns
Type | Description |
---|---|
DXBitmap | The converted page. |
#Remarks
This CreateBitmap
method overload allows you to specify a DPI for an exported Bitmap image. Call the PdfPageRenderingParameters.CreateWithResolution(Single) method to create a new PdfPageRenderingParameters
instance with the specified image DPI and pass it as the CreateBitmap
method parameter.
See Also