MarkdownSaveOptions

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

NameTypeAccessDescription
ResourcesDirectoryNamestringRead/WriteName of the sub-directory (created next to the output file) that extracted image/vector resources are written into and referenced from.
UseImageHtmlTagboolRead/WriteWhen true, extracted images are referenced with an HTML <img> tag instead of the Markdown image syntax.
AreaToExtractRectangleRead/WriteRestrict extraction to the given page rectangle.
ExtractVectorGraphicsboolRead/WriteWhen true, vector graphics are rasterised/serialised and emitted as image resources.
RecognizeBulletsboolRead/WriteWhether leading list markers are recognised and emitted as Markdown bullets.
RelativeHorizontalProximityfloatRead/WriteHorizontal 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.
SaveFormatSaveFormatReadGets the save format.
CloseResponseboolRead/WriteGets or sets the close response.
SaveFullPathboolRead/WriteGets or sets the save full path.
WarningHandlerIWarningCallbackRead/WriteWarning handler invoked during serialisation.
WarningHandlerNamestringRead/WriteLegacy string-typed warning-handler hook (FOSS-only extra).
CacheGlyphsboolRead/WritePre-cache rasterised glyphs to speed up repeated text emission.

Methods

SignatureDescription
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).

See Also

 English