Gets an Image object from the specified HTML string.
The urlBase parameter allows the converter to
determine the full URLs from relative URLs for images and CSS files appearing
in the HTML code from htmlString parameter
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public Image GetImageFromHtmlString( string htmlString, string urlBase ) |
| Visual Basic |
|---|
Public Function GetImageFromHtmlString ( htmlString As String, urlBase As String ) As Image |
| Visual C++ |
|---|
public: Image^ GetImageFromHtmlString( String^ htmlString, String^ urlBase ) |
Parameters
- htmlString
- Type: System..::..String
The HTML string to convert
- urlBase
- Type: System..::..String
The URL base of the page
Return Value
Type: ImageThe rendered Image object