 |
PdfHtmlElementWebPageWidth Property |
Gets or sets the width of the converted web page as it would appear in the internal browser used to render the html.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic int WebPageWidth { get; set; }Public Property WebPageWidth As Integer
Get
Set
Property Value
Int32
RemarksThe web page width is specified in pixels and the default value is 1024px.
The page is laid out the way a browser window this wide lays it out, and the result is scaled so that this width fills
Width: a smaller width produces larger content in the pdf, a larger width smaller content.
Content wider than this width is not cut off: it is scaled down further, so that the widest content fits it.
A value of 0 or less uses the default width.
See Also