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
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 20.75.0
public bool AutoResizePdfPageHeight { get; set; }
Property Value
Boolean
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