MdLoadOptions
Overview
MdLoadOptions is a class in Aspose.PDF FOSS for .NET.
Inherits from: LoadOptions.
Options for loading Markdown files as PDF documents.
This class declares 2 methods for MdLoadOptions objects in .NET programs.
Available methods include: LoadOptions, MdLoadOptions.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: CssStyles, DisableFontLicenseVerifications, IsPriorityCssPageRule, LoadFormat, PageInfo, WarningHandler, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
PageInfo | PageSizeInfo | Read/Write | Page size info (width, height, margins). |
CssStyles | string? | Read/Write | Custom CSS styles to apply to the rendered content. |
IsPriorityCssPageRule | bool | Read/Write | When set, a @page rule found in a <style> block of the markdown source takes priority over PageInfo for the page geometry. |
WarningHandler | IWarningCallback | Read/Write | Warning handler invoked while loading the source document. |
WarningHandlerName | string | Read/Write | Legacy string-typed warning-handler hook (FOSS-only extra). |
DisableFontLicenseVerifications | bool | Read/Write | Whether font license verifications are suppressed during load. |
LoadFormat | LoadFormat | Read | The source format this options instance configures. |
Methods
| Signature | Description |
|---|---|
MdLoadOptions() | Creates Markdown load options with the default page size and no custom CSS. |
LoadOptions() | Creates load options with default settings. |