officefileapi-devexpress-dot-pdf-dot-pdfpagerenderingparameters-dot-createwithresolution-x28-system-dot-single-x29.md
Creates a new PdfPageRenderingParameters instance with the specified image DPI.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Drawing.dll
NuGet Package : DevExpress.Pdf.Drawing
public static PdfPageRenderingParameters CreateWithResolution(
float dpi
)
Public Shared Function CreateWithResolution(
dpi As Single
) As PdfPageRenderingParameters
| Name | Type | Description |
|---|---|---|
| dpi | Single |
An image DPI.
|
| Type | Description |
|---|---|
| PdfPageRenderingParameters |
A new PdfPageRenderingParameters instance with the specified Dpi property.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateWithResolution(Single) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
pdf-document-api-export-document-to-multi-page-tiff-and-bitmap/CS/ExportToImage/Program.cs#L35
PdfPageRenderingParameters renderingParameters = PdfPageRenderingParameters.CreateWithResolution(72f);
// Export pages to SVGs
pdf-document-api-export-document-to-multi-page-tiff-and-bitmap/VB/ExportToImage/Program.vb#L25
Dim renderingParameters As PdfPageRenderingParameters = PdfPageRenderingParameters.CreateWithResolution(72F)
' Export pages to SVGs
See Also
PdfPageRenderingParameters Class