HtmlToPdfConverterHtmlViewerWidth 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 HtmlViewerWidth value at the default 96 DPI resolution. To obtain a PDF with the exact page size given by PdfPageSize, set the AutoResizePdfPageWidth and AutoResizePdfPageHeight properties to false. The default value is 1024 pixels

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 20.0.0
C#
public int HtmlViewerWidth { get; set; }

Property Value

Int32

See Also