The HtmlToSvg type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| HtmlToSvg |
The HtmlToSvgConverter constructor
|
Methods
| Name | Description | |
|---|---|---|
| ConvertHtmlToFile |
Converts a HTML code to a SVG file
| |
| ConvertHtmlToMemory |
Converts a HTML code and produces a SVG document in a memory buffer
| |
| ConvertHtmlToStream |
Converts a HTML code to a SVG document and writes the resulted SVG document to an output stream
| |
| ConvertUrlToFile |
Converts a HTML document from a given URL to a SVG file
| |
| ConvertUrlToMemory |
Converts a HTML document from a given URL and produces a SVG document in a memory buffer
| |
| ConvertUrlToStream |
Converts a HTML document from a given URL to a SVG document and writes the resulted SVG document to an output stream
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| SetDepFilePath |
Call this method with the fully qualified name of HiQPdf.dep when this file installed
in a different folder from the HiQPdf.dll folder
(Inherited from HtmlConverterBase.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Authentication |
The object exposed by this propery encapsulates a username and a password that can be used
to access web pages requiring HTTP authentication
(Inherited from HtmlConverterBase.) | |
| BrowserHeight |
The browser window height in pixels. The default height is set to render the entire HTML document
(Inherited from HtmlConverterBase.) | |
| BrowserWidth |
The browser window width in pixels. The default width is 1200 pixels
(Inherited from HtmlConverterBase.) | |
| ConvertedHtmlElementSelector |
This property can be set with a value representing the CSS selector of the HTML element to be converted.
If many elements in the HTML document are selected, only the the first one will be converted. The values
of the attributes in the CSS selectors are case sensitive. If this property is not set then the whole
HTML document is converted
(Inherited from HtmlConverterBase.) | |
| DPI |
Set the SVG document DPI
| |
| HtmlLoadedTimeout |
The maximum time in seconds to wait for HTML document to be loaded. The default value is 120 seconds.
An exception is thrown if the HTML document cannot be loaded in HtmlLoadedTimeout seconds
(Inherited from HtmlConverterBase.) | |
| HttpCookies |
A collection of HTTP cookies to be used when accessing a web page
(Inherited from HtmlConverterBase.) | |
| HttpHeaders |
A collection of the HTTP headers to be used when accessing a web page
(Inherited from HtmlConverterBase.) | |
| HttpPostFields |
A collection of HTTP POST fields to be used when accessing a web page.
If the collection is not empty, the converter will make a POST request to the web page URL
with the fields from this collection
(Inherited from HtmlConverterBase.) | |
| MaxBrowserHeight |
This property can be used to set a maximum limit in pixels for the rendered top part of a HTML document.
The default value is 0 and the height is not limited
(Inherited from HtmlConverterBase.) | |
| MediaType |
Controls the media type for which to render the HTML document. If this property is null or empty the default media type is 'screen'.
It can be set to a value like 'print' and in this case the CSS properties defined by the '@media print' rule will be used when the HTML is rendered
(Inherited from HtmlConverterBase.) | |
| MinBrowserHeight |
This property can be used to set a minimum height in pixels to be rendered. The default value is 600 pixels.
This property is ignored when the BrowserHeight property is set
(Inherited from HtmlConverterBase.) | |
| Proxy |
The object exposed by this property encapsulates the parameters (address, username, password) that can be used
to access web pages through a proxy server
(Inherited from HtmlConverterBase.) | |
| RenderSvgFonts |
Controls if the SVG fonts are rendered. The default value is false when converting HTML to PDF or SVG and true when converting HTML to a raster image
(Inherited from HtmlConverterBase.) | |
| RepeatHttpHeaders |
This property controls if the headers defined by the HttpHeaders property are also used when accessing the resources referenced by the
web page, not only when accessing the web page. The default value is true and the headers are repeated when accessing the referenced resources
(Inherited from HtmlConverterBase.) | |
| RunExtensions |
Controls if the browser extensions like Flash players are executed. The default value is false and no extension is executed
(Inherited from HtmlConverterBase.) | |
| RunJavaScript |
Controls if the JavaScript in the HTML document is executed. The default value of this property is true and the JavaScript is executed
(Inherited from HtmlConverterBase.) | |
| SerialNumber |
The serial number obtained after product purchase. This property can be set to null or can be left not set to enter evaluation mode
(Inherited from HtmlConverterBase.) | |
| SetSize |
Controls if the calculated size of the document is set in document
| |
| StopSlowScripts |
Controls if the browser should interrupt slow scripts in the web page. The default value is false and the scripts are not stopped
(Inherited from HtmlConverterBase.) | |
| TriggerMode |
The method of triggering the conversion. The default value is Auto
(Inherited from HtmlConverterBase.) | |
| WaitBeforeConvert |
An additional time in seconds to wait before starting the conversion to allow more time to JavaScript to update the web page.
This property has effect only if the TriggerMode property is set to WaitTime (Inherited from HtmlConverterBase.) |