MarkdownSaveOptions
Overview
MarkdownSaveOptions is a class in Aspose.Words FOSS for .NET.
Inherits from: TxtSaveOptionsBase.
Class to specify additional options when saving a document into the Markdown format.
This class provides 2 methods for working with MarkdownSaveOptions objects in .NET programs.
Available methods include: CreateSaveOptions, MarkdownSaveOptions.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: AllowEmbeddingPostScriptFonts, CustomTimeZoneInfo, DefaultTemplate, Dml3DEffectsRenderingMode, DmlEffectsRenderingMode, DmlRenderingMode, and 32 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
SaveFormat | SaveFormat | Read/Write | Specifies the format in which the document will be saved if this save options object is used. |
TableContentAlignment | TableContentAlignment | Read/Write | Gets or sets a value that specifies how to align contents in tables when exporting into the Markdown format. |
ImagesFolder | string | Read/Write | Specifies the physical folder where images are saved when exporting a document to the Markdown format. |
ImagesFolderAlias | string | Read/Write | Specifies the name of the folder used to construct image URIs written into a document. |
ImageSavingCallback | IImageSavingCallback | Read/Write | Allows to control how images are saved when a document is saved to Markdown format. |
ResourceSavingCallback | IResourceSavingCallback | Read/Write | Allows to control how resources are saved when a document is exported to Markdown format. |
ExportImagesAsBase64 | bool | Read/Write | Specifies whether images are saved in Base64 format to the output file. |
ListExportMode | MarkdownListExportMode | Read/Write | Specifies how list items will be written to the output file. |
ExportUnderlineFormatting | bool | Read/Write | Gets or sets a boolean value indicating either to export underline text formatting as sequence of two plus characters “++”. |
LinkExportMode | MarkdownLinkExportMode | Read/Write | Specifies how links will be written to the output file. |
OfficeMathExportMode | MarkdownOfficeMathExportMode | Read/Write | Specifies how OfficeMath will be written to the output file. |
ExportAsHtml | MarkdownExportAsHtml | Read/Write | Allows to specify the elements to be exported to Markdown as raw HTML. |
ImageResolution | int | Read/Write | Specifies the output resolution for images when exporting to Markdown. |
EmptyParagraphExportMode | MarkdownEmptyParagraphExportMode | Read/Write | Specifies how to export empty paragraphs to Markdown. |
Encoding | Encoding | Read/Write | Specifies the encoding to use when exporting in text formats. |
ParagraphBreak | string | Read/Write | Specifies the string to use as a paragraph break when exporting in text formats. |
ForcePageBreaks | bool | Read/Write | Allows to specify whether the page breaks should be preserved during export. |
ExportHeadersFootersMode | TxtExportHeadersFootersMode | Read/Write | Specifies the way headers and footers are exported to the text formats. |
ExportGeneratorName | bool | Read/Write | When true, causes the name and version of Aspose.Words to be embedded into produced files. |
TempFolder | string | Read/Write | Specifies the folder for temporary files used when saving to a DOC or DOCX file. |
UpdateOleControlImages | bool | Read/Write | Gets or sets a value determining whether OLE controls presentation image will be updated. |
PrettyFormat | bool | Read/Write | When true, pretty formats output where applicable. |
UseAntiAliasing | bool | Read/Write | Gets or sets a value determining whether or not to use anti-aliasing for rendering. |
UseHighQualityRendering | bool | Read/Write | Gets or sets a value determining whether or not to use high quality (i.e. |
DmlRenderingMode | DmlRenderingMode | Read/Write | Gets or sets a value determining how DrawingML shapes are rendered. |
DmlEffectsRenderingMode | DmlEffectsRenderingMode | Read/Write | Gets or sets a value determining how DrawingML effects are rendered. |
ImlRenderingMode | ImlRenderingMode | Read/Write | Gets or sets a value determining how ink (InkML) objects are rendered. |
DefaultTemplate | string | Read/Write | Gets or sets path to default template (including filename). |
UpdateFields | bool | Read/Write | Gets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. |
UpdateLastSavedTimeProperty | bool | Read/Write | Gets or sets a value determining whether the LastSavedTime property is updated before saving. |
UpdateLastPrintedProperty | bool | Read/Write | Gets or sets a value determining whether the LastPrinted property is updated before saving. |
UpdateCreatedTimeProperty | bool | Read/Write | Gets or sets a value determining whether the CreatedTime property is updated before saving. |
MemoryOptimization | bool | Read/Write | Gets or sets value determining if memory optimization should be performed before saving the document. |
UpdateAmbiguousTextFont | bool | Read/Write | Determines whether the font attributes will be changed according to the character code being used. |
Dml3DEffectsRenderingMode | Dml3DEffectsRenderingMode | Read/Write | Gets or sets a value determining how 3D effects are rendered. |
ProgressCallback | IDocumentSavingCallback | Read/Write | Called during saving a document and accepts data about saving progress. |
AllowEmbeddingPostScriptFonts | bool | Read/Write | Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. |
CustomTimeZoneInfo | TimeZoneInfo | Read/Write | Gets or sets custom local time zone used for date/time fields. |
Methods
| Signature | Description |
|---|---|
MarkdownSaveOptions() | Initializes a new instance of this class that can be used to save a document in the Markdown format. |
CreateSaveOptions(saveFormat: SaveFormat) | Creates a save options object of a correct class. |