Pdf | |
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: the height on its own does not limit what is converted - it is the size of the browser viewport, so it also decides what 100vh resolves to and what counts as visible for lazily loaded content. To leave the content that does not fit this height out of the generated pdf document, set WebPageFixedSize to true as well.
This property can also be set directly in the constructor of PdfHtmlSection class.