Creates a URL to image converter element at the specified x and y coordinates with the specified
width. The height in PDF is auto determined.
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public HtmlToImageElement(
float x,
float y,
float width,
string urlToConvert
) |
| Visual Basic |
|---|
Public Sub New (
x As Single,
y As Single,
width As Single,
urlToConvert As String
) |
| Visual C++ |
|---|
public:
HtmlToImageElement(
float x,
float y,
float width,
String^ urlToConvert
) |
Parameters
- x
- Type: System..::..Single
The x position in points where the rendered content will be placed
- y
- Type: System..::..Single
The y position in points where the rendered content will be placed
- width
- Type: System..::..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
- Type: System..::..String
The URL to convert to PDF
See Also