Creates a HTML to PDF 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
PdfConverter class
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public PdfConverter(
int htmlViewerWidth,
int htmlViewerHeight
) |
| Visual Basic |
|---|
Public Sub New (
htmlViewerWidth As Integer,
htmlViewerHeight As Integer
) |
| Visual C++ |
|---|
public:
PdfConverter(
int htmlViewerWidth,
int htmlViewerHeight
) |
See Also