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: MarkdownSaveOptionsTxtSaveOptionsBaseSaveOptions

Constructors

NameDescription
MarkdownSaveOptions()Initializes a new instance of this class that can be used to save a document in the SaveFormat.Markdown format.

Properties

NameDescription
allowEmbeddingPostScriptFontsGets 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)
defaultTemplateGets or sets path to default template (including filename). Default value for this property is empty string .
(Inherited from SaveOptions)
dml3DEffectsRenderingModeGets or sets a value determining how 3D effects are rendered.
(Inherited from SaveOptions)
dmlEffectsRenderingModeGets or sets a value determining how DrawingML effects are rendered.
(Inherited from SaveOptions)
dmlRenderingModeGets or sets a value determining how DrawingML shapes are rendered.
(Inherited from SaveOptions)
emptyParagraphExportModeSpecifies how to export empty paragraphs to Markdown. Default value is MarkdownEmptyParagraphExportMode.EmptyLine.
encodingSpecifies the encoding to use when exporting in text formats. Default value is .
(Inherited from TxtSaveOptionsBase)
exportAsHtmlAllows to specify the elements to be exported to Markdown as raw HTML. Default value is MarkdownExportAsHtml.None.
exportGeneratorNameWhen true, causes the name and version of Aspose.Words to be embedded into produced files. Default value is true.
(Inherited from SaveOptions)
exportHeadersFootersModeSpecifies the way headers and footers are exported to the text formats. Default value is TxtExportHeadersFootersMode.PrimaryOnly.
(Inherited from TxtSaveOptionsBase)
exportImagesAsBase64Specifies whether images are saved in Base64 format to the output file. Default value is false.
exportUnderlineFormattingGets or sets a boolean value indicating either to export underline text formatting as sequence of two plus characters “++”. The default value is false.
forcePageBreaksAllows to specify whether the page breaks should be preserved during export.
(Inherited from TxtSaveOptionsBase)
imageResolutionSpecifies the output resolution for images when exporting to Markdown. Default is 96 dpi.
imageSavingCallbackAllows to control how images are saved when a document is saved to SaveFormat.Markdown format.
imagesFolderSpecifies the physical folder where images are saved when exporting a document to the SaveFormat.Markdown format. Default is an empty string.
imagesFolderAliasSpecifies the name of the folder used to construct image URIs written into a document. Default is an empty string.
imlRenderingModeGets or sets a value determining how ink (InkML) objects are rendered.
(Inherited from SaveOptions)
linkExportModeSpecifies how links will be written to the output file. Default value is MarkdownLinkExportMode.Auto.
listExportModeSpecifies how list items will be written to the output file. Default value is MarkdownListExportMode.MarkdownSyntax.
memoryOptimizationGets or sets value determining if memory optimization should be performed before saving the document. Default value for this property is false.
(Inherited from SaveOptions)
officeMathExportModeSpecifies how OfficeMath will be written to the output file. Default value is MarkdownOfficeMathExportMode.Text.
paragraphBreakSpecifies the string to use as a paragraph break when exporting in text formats.
(Inherited from TxtSaveOptionsBase)
prettyFormatWhen true, pretty formats output where applicable. Default value is false.
(Inherited from SaveOptions)
saveFormatSpecifies the format in which the document will be saved if this save options object is used. Can only be SaveFormat.Markdown.
tableContentAlignmentGets 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.
tempFolderSpecifies 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)
updateAmbiguousTextFontDetermines whether the font attributes will be changed according to the character code being used.
(Inherited from SaveOptions)
updateCreatedTimePropertyGets or sets a value determining whether the BuiltInDocumentProperties.createdTime property is updated before saving. Default value is false;
(Inherited from SaveOptions)
updateFieldsGets 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)
updateLastPrintedPropertyGets or sets a value determining whether the BuiltInDocumentProperties.lastPrinted property is updated before saving.
(Inherited from SaveOptions)
updateLastSavedTimePropertyGets or sets a value determining whether the BuiltInDocumentProperties.lastSavedTime property is updated before saving.
(Inherited from SaveOptions)
useAntiAliasingGets or sets a value determining whether or not to use anti-aliasing for rendering.
(Inherited from SaveOptions)
useHighQualityRenderingGets or sets a value determining whether or not to use high quality (i.e. slow) rendering algorithms.
(Inherited from SaveOptions)

Methods

NameDescription
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