MarkdownToPdfConverter Class

Provides functionality for converting Markdown documents to PDF format with support for customization options such as metadata, security and viewer preferences

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next.MarkdownToPdf (in HiQPdf.Next.MarkdownToPdf.dll) Version: 18.0.0
C#
public sealed class MarkdownToPdfConverter
Inheritance
Object    MarkdownToPdfConverter

Constructors

MarkdownToPdfConverter Initializes a new instance of the MarkdownToPdfConverter class with default options

Properties

DisableRawHtml Controls whether raw HTML embedded in Markdown is ignored. The default value is false
MarkdownLoaderFilePath Sets the full path of Markdown loader file
PdfDocumentOptions Gets a reference to the object controlling the conversion process and the generated PDF document properties like PDF document margins, PDF page size and orientation, PDF document header and footer

Methods

ConvertFileToPdf Converts a Markdown file to a PDF byte array
ConvertFileToPdfAsync Asynchronously converts a Markdown file to a PDF byte array
ConvertFileToPdfFile Converts a Markdown file to PDF and writes the result to the specified output path
ConvertFileToPdfFileAsync Asynchronously converts a Markdown file to PDF and writes the result to the specified output path
ConvertStringToPdf Converts a Markdown string to a PDF byte array
ConvertStringToPdfAsync Asynchronously converts a Markdown string to a PDF byte array
ConvertStringToPdfFile Converts a Markdown string to PDF and writes the result to the specified output path
ConvertStringToPdfFileAsync Asynchronously converts a Markdown string to PDF and writes the result to the specified output path
Equals
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
ToString
(Inherited from Object)

See Also