MarkdownSaveOptions
Overview
MarkdownSaveOptions is a class in Aspose.PDF FOSS for .NET.
Inherits from: SaveOptions.
Save options for the PDF → Markdown converter (doc.Save(path, new MarkdownSaveOptions())).
This class declares 2 methods for MarkdownSaveOptions objects in .NET programs.
Available methods include: MarkdownSaveOptions, SaveOptions.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: AreaToExtract, CacheGlyphs, CloseResponse, ExtractVectorGraphics, RecognizeBullets, RelativeHorizontalProximity, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ResourcesDirectoryName | string | Read/Write | Name of the sub-directory (created next to the output file) that extracted image/vector resources are written into and referenced from. |
UseImageHtmlTag | bool | Read/Write | When true, extracted images are referenced with an HTML <img> tag instead of the
|
AreaToExtract | Rectangle | Read/Write | Restrict extraction to the given page rectangle. |
ExtractVectorGraphics | bool | Read/Write | When true, vector graphics are rasterised/serialised and emitted as image resources. |
RecognizeBullets | bool | Read/Write | Whether leading list markers are recognised and emitted as Markdown bullets. |
RelativeHorizontalProximity | float | Read/Write | Horizontal proximity (as a fraction of the space width) below which two runs on the same line are considered adjacent rather than separated by a space. |
SaveFormat | SaveFormat | Read | Gets the save format. |
CloseResponse | bool | Read/Write | Gets or sets the close response. |
SaveFullPath | bool | Read/Write | Gets or sets the save full path. |
WarningHandler | IWarningCallback | Read/Write | Warning handler invoked during serialisation. |
WarningHandlerName | string | Read/Write | Legacy string-typed warning-handler hook (FOSS-only extra). |
CacheGlyphs | bool | Read/Write | Pre-cache rasterised glyphs to speed up repeated text emission. |
Methods
| Signature | Description |
|---|---|
MarkdownSaveOptions() | Creates Markdown save options with their default values; resources go into a resources sub-directory. |
SaveOptions() | Creates save options with default settings (the document is saved as PDF). |