HtmlToPdfConverter(Int32, Int32) Constructor
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: WinnovativeAssembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
public HtmlToPdfConverter(
int htmlViewerWidth,
int htmlViewerHeight
)
Public Sub New (
htmlViewerWidth As Integer,
htmlViewerHeight As Integer
)
Parameters
- htmlViewerWidth Int32
- The HTML viewer width in pixels
- htmlViewerHeight Int32
- The HTML viewer height in pixels