Click or drag to resize

PdfDocumentOptionsFitWidth Property

When this property is true the HTML content will be resized if necessary to fit the available width in PDF page. By default this property is true and the content will be resized if necessary to fit the available width in PDF page. When this property is false the HTML content is not resized (is rendered at the real size) and therefore it could be cut off at the right size if the PDF page is not enough wide to display the whole HTML content. In this case the AutoSizePdfPage property can be set on true to automatically resize the PDF page width to display the whole content.

Namespace:  ExpertPdf.HtmlToPdf
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public bool FitWidth { get; set; }

Property Value

Type: Boolean
See Also