PdfDocumentOptionsAutoResizePdfPageHeight Property

Automatically resizes the PDF page height to match the HTML content height at the default 96 DPI resolution. When set to true, AutoResizePdfPageWidth must also be set to true. Setting a large HtmlViewerHeight may produce a PDF page with the height larger than the actual content. To obtain a PDF with the exact page size given by PdfPageSize, set the AutoResizePdfPageWidth and AutoResizePdfPageHeight properties to false. The default value is false.

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 14.36.0
C#
public bool AutoResizePdfPageHeight { get; set; }

Property Value

Boolean

See Also