Winnovative HTML to PDF Converter Library for .NET
HtmlToPdfArea Constructor (x, y, width, urlToConvert, htmlViewerWidth, htmlViewerHeight)
NamespacesWinnovative.WnvHtmlConvertHtmlToPdfAreaHtmlToPdfArea(Single, Single, Single, String, Int32, Int32)
Winnovative HTML to PDF Converter Library for .NET
Creates an URL to PDF converter element and places the rendered PDF content inside a rectangle with the top left corner at (x,y) coordinate and having the width equal to the width specified as parameter. The URL to converter is given by the urlToConvert parameter. The converter is using the values specified as parameters for HTML viewer width and height.
Declaration Syntax
C#Visual BasicVisual C++
public HtmlToPdfArea(
	float x,
	float y,
	float width,
	string urlToConvert,
	int htmlViewerWidth,
	int htmlViewerHeight
)
Public Sub New ( _
	x As Single, _
	y As Single, _
	width As Single, _
	urlToConvert As String, _
	htmlViewerWidth As Integer, _
	htmlViewerHeight As Integer _
)
public:
HtmlToPdfArea(
	float x, 
	float y, 
	float width, 
	String^ urlToConvert, 
	int htmlViewerWidth, 
	int htmlViewerHeight
)
Parameters
x (Single)
The x position in points where the rendered content will be placed
y (Single)
The y position in points where the rendered content will be placed
width (Single)
The destination width in points for the rendered content. If the specified with is less or equal 0, the destination width will be given by the available width in page.
urlToConvert (String)
The URL to convert to PDF
htmlViewerWidth (Int32)
The virtual browser width in pixels. The default value is 1024 pixels. The effect of this parameter is similar with viewing the HTML page in a browser window with the specified width. When this parameter is less or equal 0, the converter will try to auto-determine the HTML page width from the body element width.
htmlViewerHeight (Int32)
The virtual browser height in pixels. The default value is 0 which means the height will be auto-determined. The effect of this parameter is similar with viewing the HTML page in a browser window ` with the specified width and height. When this paramter is less or equal 0, the converter will try to automatically determine the HTML page height from the document content.

Assembly: Winnovative.WnvHtmlConvert (Module: Winnovative.WnvHtmlConvert) Version: 7.0.0.0 (7.0.0.0)