Click or drag to resize
Pdf Library for .NET

HtmlToImageConvertHtmlString Method (String)

Gets an Image object from the specified html string.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax
public Image ConvertHtmlString(
	string htmlString
)

Parameters

htmlString
Type: SystemString
The html string to be converted to image.

Return Value

Type: Image
The rendered Image object.
Remarks
The Image object can be further manipulated to have the format changed, saved to disk, etc.
See Also