PdfMarkdownElement Class

A Markdown document rendered in the pages of a PDF document being created. The content starts at a position in the current page and flows to as many new pages as it needs, laid out inside the margins of the PDF document, and keeps its structure, headings, links, code blocks and images

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next.MarkdownToPdf (in EvoPdf.Next.MarkdownToPdf.dll) Version: 15.0.0
C#
public class PdfMarkdownElement
Inheritance
Object    PdfMarkdownElement

Constructors

PdfMarkdownElement(String) Creates an element that renders a Markdown document given as a file. The relative links and images of the document are resolved from the folder of the file
PdfMarkdownElement(String, String) Creates an element that renders a Markdown document given as a string

Properties

DisableRawHtml True to ignore the raw markup embedded in the Markdown document. The default is false
FallbackFontFiles The TrueType or OpenType font files used for the characters that the fonts of the content do not provide, such as the fonts of other scripts
FontFiles The TrueType or OpenType font files made available to the content, in addition to the fonts installed on the machine; a font file provides the family it is named after, so it also takes the place of a font of that name that is not installed
GenerateDocumentOutline True to add a bookmark for each heading of the Markdown document to the outline of the PDF document. The default is false
StyleSheet The CSS style sheet applied to the rendered content, or empty for the default styles
Width The width of the content in points, or 0 to extend it to the right margin of the page
X The X position where the content starts, in points and relative to the top left corner of the content area of the current page, inside the margins. The content keeps this left offset on the next pages
Y The Y position where the content starts, in points and relative to the top left corner of the content area of the current page, inside the margins. On the next pages the content starts at the top margin
Zoom The zoom of the rendered content in percents, from 10 to 200. The default is 100

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also