MarkdownToPdfConverterConvertStringToPdf Method

Converts a Markdown string to a PDF byte array

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next.MarkdownToPdf (in HiQPdf.Next.MarkdownToPdf.dll) Version: 18.0.0
C#
public byte[] ConvertStringToPdf(
	string markdownContent,
	string baseUrl
)

Parameters

markdownContent  String
The Markdown content as a string
baseUrl  String
Can be used to resolve relative resources

Return Value

Byte
PDF bytes representing the rendered document

See Also