Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfPageRenderingParameters.LargestEdgeLength Property

Gets the length of an image’s largest dimension.

Namespace: DevExpress.Pdf

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

NuGet Package: DevExpress.Pdf.Drawing

#Declaration

public int? LargestEdgeLength { get; }

#Property Value

Type Description
Nullable<Int32>

The largest dimension length, in pixels.

#Remarks

The LargestEdgeLength property 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 PdfPageRenderingParameters.Create method.

See Also