Creates a HTML to PDF using the specified width and height in pixels for the HTML viewer window.
If the specified HTML viewer height is 0 the HTML viewer height will be automatically determined based on the HTML content and the HTML viewer width
in order to make visible the whole HTML content.
If the content is not entirely visible in the HTML viewer at the specified width, the ClipHtmlView property will control whether the
HTML content is clipped or the HTML viewer width is automatically extended to make visible the whole HTML content.
By default the ClipHtmlView property is false and the HTML viewer is automatically extended in width to make visible the whole HTML content.
The width and height of the HTML viewer can also be controlled by the HtmlViewerWidth and HtmlViewerHeight properties
of the HtmlToPdfConverter class
Namespace: Winnovative
Assembly: wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax
Parameters
- htmlViewerWidth
- Type: SystemInt32
The HTML viewer width in pixels - htmlViewerHeight
- Type: SystemInt32
The HTML viewer height in pixels
See Also