HiQPdf Documentation

HtmlToImageConvertHtmlToImage Method

Quickly Create High Quality PDFs
Converts a HTML code to an image represented as an array of image parts to avoid working with very large images in memory

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax

public Image[] ConvertHtmlToImage(
	string html,
	string baseUrl
)

Parameters

html
Type: SystemString
The HTML code to convert
baseUrl
Type: SystemString
The base URL that can be used to resolve the relative URLs found in the HTML code. It can be null if there are not relative URLs in the HTML code

Return Value

Type: Image
An array of image parts
See Also

Reference