Winnovative HTML to PDF Converter

HtmlToImageConverter Constructor (Int32, Int32)

Winnovative HTML to PDF Converter for .NET Documentation
Creates a HTML to Image converter using the specified width and height in pixels for the HTML viewer. 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 HtmlToImageConverter class.

Namespace:  Winnovative
Assembly:  wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax

public HtmlToImageConverter(
	int htmlViewerWidth,
	int htmlViewerHeight
)

Parameters

htmlViewerWidth
Type: SystemInt32
The preferred HTML viewer width in pixels.
htmlViewerHeight
Type: SystemInt32
The preferred HTML viewer height in pixels.
See Also

Reference