ExpertPdf Html to Pdf Converter Library
AutoSizePdfPage Property
NamespacesExpertPdf.HtmlToPdfPdfDocumentOptionsAutoSizePdfPage
ExpertPdf Html to Pdf Converter Library
When the property AutoSizePdfPage property is true the converter will automatically calculate the PDF page size such that all the HTML content will be visible in the resulted PDF document. This property has effect only when the FitWidth and FitHeight properties are false. When the FitWidth property is false (the HTML content is rendered at real size) and the AutoSizePdfPage is false the rendered HTML content could be cut off at the right of the generated PDF document if the PDF page is not wide enough to display the whole content.
Declaration Syntax
C#Visual BasicVisual C++
public bool AutoSizePdfPage { get; set; }
Public Property AutoSizePdfPage As Boolean
	Get
	Set
public:
property bool AutoSizePdfPage {
	bool get ();
	void set (bool value);
}
Property Value

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)