PdfDocumentOptionsAutoResizePdfPageHeight Property

When true, the PDF page is as tall as the HTML content, so the whole content is on one page; the page width comes from the page size or, when AutoResizePdfPageWidth is true, from the browser window. The page is at least as tall as the browser window, so a small viewer height suits short content. The default value is false

Definition

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

Property Value

Boolean

Remarks

How the page width, the layout width and the zoom work together, with the settings for the usual cases, is described in the "HTML to PDF Page Setup and Scaling" topic: HTML to PDF Page Setup and Scaling

See Also