Back to Devexpress

PdfPageRenderingParameters.Create(Int32) Method

officefileapi-devexpress-dot-pdf-dot-pdfpagerenderingparameters-dot-create-x28-system-dot-int32-x29.md

latest1.9 KB
Original Source

PdfPageRenderingParameters.Create(Int32) Method

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

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Drawing

Declaration

csharp
public static PdfPageRenderingParameters Create(
    int largestEdgeLength
)
vb
Public Shared Function Create(
    largestEdgeLength As Integer
) As PdfPageRenderingParameters

Parameters

NameTypeDescription
largestEdgeLengthInt32

The largest dimension length, in pixels.

|

Returns

TypeDescription
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

PdfPageRenderingParameters Class

PdfPageRenderingParameters Members

DevExpress.Pdf Namespace