MarkdownToPdfConverterConvertStringToPdf Method
Converts a Markdown string to a PDF byte array
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next.MarkdownToPdf (in Winnovative.Pdf.Next.MarkdownToPdf.dll) Version: 20.75.0
public byte[] ConvertStringToPdf(
string markdownContent,
string baseUrl
)
- markdownContent String
- The Markdown content as a string
- baseUrl String
- Can be used to resolve relative resources.
To load local file system resources referenced with a file:// URL or an absolute disk path, set this to "file:///"
BytePDF bytes representing the rendered document