Skip to main content
All docs
V23.2

PdfPageRenderingParameters.Create(Int32) Method

Creates a new PdfPageRenderingParameters instance with the specified image’s largest dimension length.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v23.2.Drawing.dll

NuGet Package: DevExpress.Pdf.Drawing

Declaration

public static PdfPageRenderingParameters Create(
    int largestEdgeLength
)

Parameters

Name Type Description
largestEdgeLength Int32

The largest dimension length, in pixels.

Returns

Type Description
PdfPageRenderingParameters

A new PdfPageRenderingParameters instance with the specified LargestEdgeLength property.

Remarks

The largestEdgeLength parameter determines the output image height for pages in the portrait orientation and width – for landscape pages. The page is proportionally scaled so that the largest edge of the converted bitmap is equal to the largestEdgeLength value.

You can reduce the output image size and memory consumption if you pass a smaller largestEdgeLength value to the Create method.

See Also