HtmlToImageConvertHtmlToImageParts 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: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public byte[][] ConvertHtmlToImageParts(
string html,
string baseUrl,
ImageFormats format
)
Public Function ConvertHtmlToImageParts (
html As String,
baseUrl As String,
format As ImageFormats
) As Byte()()
public:
array<array<unsigned char>^>^ ConvertHtmlToImageParts(
String^ html,
String^ baseUrl,
ImageFormats format
)
member ConvertHtmlToImageParts :
html : string *
baseUrl : string *
format : ImageFormats -> byte[][]
- 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
- format ImageFormats
- The image format
ByteAn array of image parts