ExpertPdf Html to Pdf Converter Library
PageWidth Property
NamespacesExpertPdf.HtmlToPdfPdfConverterPageWidth
ExpertPdf Html to Pdf Converter Library
Gets or sets the width of the HTML document in pixels. The default width is 1024 pixels and this value can be changed by setting this property or by specifying the htmlDocWidthPx parameter in the constructor. If this property is set to 0 or a to negative value, the width of the HTML document will be automatically calculated. Because all the dimensions in the PDF document are measured in points (1 point is 1/72 inch), it might be necessary to transform pixels to points and points to pixels using the UnitsConverter class in order to better control the HTML to PDF conversion.
Declaration Syntax
C#Visual BasicVisual C++
public int PageWidth { get; set; }
Public Property PageWidth As Integer
	Get
	Set
public:
property int PageWidth {
	int get ();
	void set (int value);
}
Property Value

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