Back to Devexpress

PdfPageRenderingParameters.CreateWithResolution(Single) Method

officefileapi-devexpress-dot-pdf-dot-pdfpagerenderingparameters-dot-createwithresolution-x28-system-dot-single-x29.md

latest2.8 KB
Original Source

PdfPageRenderingParameters.CreateWithResolution(Single) Method

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

Declaration

csharp
public static PdfPageRenderingParameters CreateWithResolution(
    float dpi
)
vb
Public Shared Function CreateWithResolution(
    dpi As Single
) As PdfPageRenderingParameters

Parameters

NameTypeDescription
dpiSingle

An image DPI.

|

Returns

TypeDescription
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

csharp
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

vb
Dim renderingParameters As PdfPageRenderingParameters = PdfPageRenderingParameters.CreateWithResolution(72F)
' Export pages to SVGs

See Also

PdfPageRenderingParameters Class

PdfPageRenderingParameters Members

DevExpress.Pdf Namespace