HiQPdf Documentation

HtmlToPdfConvertHtmlToMemory Method

Quickly Create High Quality PDFs
Converts a HTML code and produces a PDF document in a memory buffer

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

public byte[] ConvertHtmlToMemory(
	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: Byte
The PDF document as memory buffer
See Also

Reference