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: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next.MarkdownToPdf (in Winnovative.Pdf.Next.MarkdownToPdf.dll) Version: 20.0.0
C#
public sealed class MarkdownToPdfConverter
Inheritance
Object    MarkdownToPdfConverter

Constructors

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

Properties

DigitalSignature The digital signature to apply to generated PDF document
DisableRawHtml Controls whether raw HTML embedded in Markdown is ignored. The default value is false
MarkdownLoaderFilePath Sets the full path of Markdown loader file
PdfDocumentInfo Gets a reference to the object to controlling the generated PDF document information like the document title, author, subject or creation date
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
PdfSecurityOptions Gets a reference to the object to controlling the generated PDF document security settings like user and owner password, restrict printing or editing of the generated PDF document
PdfViewerPreferences Gets a reference to the object controlling how the generated PDF is displayed by a PDF viewer

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