Skip to main content
All docs
V25.1
  • PdfPageRenderingParameters.LargestEdgeLength Property

    Gets the length of an image’s largest dimension.

    Namespace: DevExpress.Pdf

    Assembly: DevExpress.Pdf.v25.1.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