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: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public Image GetImageFromHtmlString(
	string htmlString,
	string urlBase,
	string internalLinksDocUrl
)
Visual Basic
Public Function GetImageFromHtmlString ( 
	htmlString As String,
	urlBase As String,
	internalLinksDocUrl As String
) As Image
Visual C++
public:
Image^ GetImageFromHtmlString(
	String^ htmlString, 
	String^ urlBase, 
	String^ internalLinksDocUrl
)

Parameters

htmlString
Type: System..::..String
The HTML string to convert
urlBase
Type: System..::..String
The URL base of the page
internalLinksDocUrl
Type: System..::..String
The full URL of the document referenced by the internal links from the HTML string.

Return Value

Type: Image
The rendered Image object

See Also