HtmlToImageConverter(Int32) Constructor
Creates a HTML to Image converter using the specified width in pixels and the default height for the HTML viewer.
The default HTML viewer height is 0 which means 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: WinnovativeAssembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
public HtmlToImageConverter(
int htmlViewerWidth
)
Public Sub New (
htmlViewerWidth As Integer
)
Parameters
- htmlViewerWidth Int32
- The preferred HTML viewer width in pixels.