HtmlToImageConvertHtmlToImage Method
Converts a HTML code to an image represented as an array of image parts
to avoid working with very large images in memory
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
public Image[] ConvertHtmlToImage(
string html,
string baseUrl
)
Public Function ConvertHtmlToImage (
html As String,
baseUrl As String
) As Image()
public:
array<Image^>^ ConvertHtmlToImage(
String^ html,
String^ baseUrl
)
member ConvertHtmlToImage :
html : string *
baseUrl : string -> Image[]
- html String
- The HTML code to convert
- baseUrl String
- 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
ImageAn array of image parts