HtmlToPdfConverterHtmlViewerWidth Property

Gets or sets the width of the browser window in pixels. The HTML is loaded and laid out in this window, then printed to the PDF page. When the width is not set, it is computed at conversion time from the page layout and the zoom. Setting a value ends the automatic layout of the layout methods: the value is used as it is, until a layout method is called again. The default value is 1024

Definition

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

Property Value

Int32

Remarks

How the page width, the layout width and the zoom work together, with the settings for the usual cases, is described in the "HTML to PDF Page Setup and Scaling" topic: HTML to PDF Page Setup and Scaling

See Also