Converts the specified URL into a SVG document and returns the rendered SVG document as an array of bytes.
This method can be used to perform HTML to SVG conversion in internal memory.
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public byte[] GetSvgFromUrl( string url ) |
| Visual Basic |
|---|
Public Function GetSvgFromUrl ( url As String ) As Byte() |
| Visual C++ |
|---|
public: array<unsigned char>^ GetSvgFromUrl( String^ url ) |
Parameters
- url
- Type: System..::..String
The URL of the web page to be converted to PDF. The URL can be also the full path of a HTML file from the local file system.
Return Value
Type: array<Byte>[]()[][]An array of bytes containing the binary representation of the SVG document.