PdfPageRenderingParameters.Create(Int32) Method
Creates a new PdfPageRenderingParameters
instance with the specified image’s largest dimension length.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v24.2.Drawing.dll
NuGet Package: DevExpress.Pdf.Drawing
#Declaration
public static PdfPageRenderingParameters Create(
int largestEdgeLength
)
#Parameters
Name | Type | Description |
---|---|---|
largest |
Int32 | The largest dimension length, in pixels. |
#Returns
Type | Description |
---|---|
Pdf |
A new |
#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.