HtmlToPdfBrowserWidth Property

Gets or sets the preferred HTML viewer width, in pixels. When AutoResizePdfPageWidth is true (the default value), the converter automatically resizes the PDF page width to match the BrowserWidth value at the default 96 DPI resolution. To obtain a PDF with the exact page size given by PageSize, set the AutoResizePdfPageWidth and AutoResizePdfPageHeight properties to false. The default value is 1024 pixels

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.0.0
C#
public int BrowserWidth { get; set; }

Property Value

Int32

See Also