HtmlToPdfOptionsWebPageHeight Property |
Namespace: SelectPdf
Generally this property does not need to be changed, but there are situations when the converter cannot calculate correctly the web page height (for example for web pages with frames) and in that case, WebPageHeight needs to be set, otherwise no content might appear in the generated pdf.
Note: If the WebPageHeight is set, the content that exceeds this page height is truncated and will not appear in the generated pdf document. Only using the default 0 value will allow the whole page content to be rendered all the time in the generated pdf document.
This property can also be set directly in the constructor of HtmlToPdf class.