Winnovative HTML to PDF Converter Library for .NET
HtmlToPdfArea Constructor (x, y, width, urlToConvert, htmlViewerWidth)
NamespacesWinnovative.WnvHtmlConvertHtmlToPdfAreaHtmlToPdfArea(Single, Single, Single, String, 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 value specified as parameter for HTML viewer width and the default value for the HTML viewer height.
Declaration Syntax
C#Visual BasicVisual C++
public HtmlToPdfArea(
	float x,
	float y,
	float width,
	string urlToConvert,
	int htmlViewerWidth
)
Public Sub New ( _
	x As Single, _
	y As Single, _
	width As Single, _
	urlToConvert As String, _
	htmlViewerWidth As Integer _
)
public:
HtmlToPdfArea(
	float x, 
	float y, 
	float width, 
	String^ urlToConvert, 
	int htmlViewerWidth
)
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 automatically determine the HTML page content.

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