MarkdownSaveOptions class
MarkdownSaveOptions class
Class to specify additional options when saving a document into the SaveFormat.Markdown format. To learn more, visit the Specify Save Options documentation article.
Inheritance: MarkdownSaveOptions → TxtSaveOptionsBase → SaveOptions
Constructors
| Name | Description |
|---|---|
| MarkdownSaveOptions() | Initializes a new instance of this class that can be used to save a document in the SaveFormat.Markdown format. |
Properties
| Name | Description |
|---|---|
| allowEmbeddingPostScriptFonts | 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. The default value is false.(Inherited from SaveOptions) |
| defaultTemplate | Gets or sets path to default template (including filename). Default value for this property is empty string . (Inherited from SaveOptions) |
| dml3DEffectsRenderingMode | Gets or sets a value determining how 3D effects are rendered. (Inherited from SaveOptions) |
| dmlEffectsRenderingMode | Gets or sets a value determining how DrawingML effects are rendered. (Inherited from SaveOptions) |
| dmlRenderingMode | Gets or sets a value determining how DrawingML shapes are rendered. (Inherited from SaveOptions) |
| emptyParagraphExportMode | Specifies how to export empty paragraphs to Markdown. Default value is MarkdownEmptyParagraphExportMode.EmptyLine. |
| encoding | Specifies the encoding to use when exporting in text formats. Default value is . (Inherited from TxtSaveOptionsBase) |
| exportAsHtml | Allows to specify the elements to be exported to Markdown as raw HTML. Default value is MarkdownExportAsHtml.None. |
| exportGeneratorName | When true, causes the name and version of Aspose.Words to be embedded into produced files. Default value is true.(Inherited from SaveOptions) |
| exportHeadersFootersMode | Specifies the way headers and footers are exported to the text formats. Default value is TxtExportHeadersFootersMode.PrimaryOnly. (Inherited from TxtSaveOptionsBase) |
| exportImagesAsBase64 | Specifies whether images are saved in Base64 format to the output file. Default value is false. |
| exportUnderlineFormatting | Gets or sets a boolean value indicating either to export underline text formatting as sequence of two plus characters “++”. The default value is false. |
| forcePageBreaks | Allows to specify whether the page breaks should be preserved during export. (Inherited from TxtSaveOptionsBase) |
| imageResolution | Specifies the output resolution for images when exporting to Markdown. Default is 96 dpi. |
| imageSavingCallback | Allows to control how images are saved when a document is saved to SaveFormat.Markdown format. |
| imagesFolder | Specifies the physical folder where images are saved when exporting a document to the SaveFormat.Markdown format. Default is an empty string. |
| imagesFolderAlias | Specifies the name of the folder used to construct image URIs written into a document. Default is an empty string. |
| imlRenderingMode | Gets or sets a value determining how ink (InkML) objects are rendered. (Inherited from SaveOptions) |
| linkExportMode | Specifies how links will be written to the output file. Default value is MarkdownLinkExportMode.Auto. |
| listExportMode | Specifies how list items will be written to the output file. Default value is MarkdownListExportMode.MarkdownSyntax. |
| memoryOptimization | Gets or sets value determining if memory optimization should be performed before saving the document. Default value for this property is false.(Inherited from SaveOptions) |
| officeMathExportMode | Specifies how OfficeMath will be written to the output file. Default value is MarkdownOfficeMathExportMode.Text. |
| paragraphBreak | Specifies the string to use as a paragraph break when exporting in text formats. (Inherited from TxtSaveOptionsBase) |
| prettyFormat | When true, pretty formats output where applicable. Default value is false.(Inherited from SaveOptions) |
| saveFormat | Specifies the format in which the document will be saved if this save options object is used. Can only be SaveFormat.Markdown. |
| tableContentAlignment | Gets or sets a value that specifies how to align contents in tables when exporting into the SaveFormat.Markdown format. The default value is TableContentAlignment.Auto. |
| tempFolder | Specifies the folder for temporary files used when saving to a DOC or DOCX file. By default this property is null and no temporary files are used.(Inherited from SaveOptions) |
| updateAmbiguousTextFont | Determines whether the font attributes will be changed according to the character code being used. (Inherited from SaveOptions) |
| updateCreatedTimeProperty | Gets or sets a value determining whether the BuiltInDocumentProperties.createdTime property is updated before saving. Default value is false;(Inherited from SaveOptions) |
| updateFields | Gets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. Default value for this property is true.(Inherited from SaveOptions) |
| updateLastPrintedProperty | Gets or sets a value determining whether the BuiltInDocumentProperties.lastPrinted property is updated before saving. (Inherited from SaveOptions) |
| updateLastSavedTimeProperty | Gets or sets a value determining whether the BuiltInDocumentProperties.lastSavedTime property is updated before saving. (Inherited from SaveOptions) |
| useAntiAliasing | Gets or sets a value determining whether or not to use anti-aliasing for rendering. (Inherited from SaveOptions) |
| useHighQualityRendering | Gets or sets a value determining whether or not to use high quality (i.e. slow) rendering algorithms. (Inherited from SaveOptions) |
Methods
| Name | Description |
|---|---|
| createSaveOptions(saveFormat) | Creates a save options object of a class suitable for the specified save format. (Inherited from SaveOptions) |
| createSaveOptions(fileName) | Creates a save options object of a class suitable for the file extension specified in the given file name. (Inherited from SaveOptions) |
See Also
- module Aspose.Words.Saving
- class TxtSaveOptionsBase