MarkdownSaveOptions

MarkdownSaveOptions class

Allows to specify custom options for generating and saving Markdown documents

public sealed class MarkdownSaveOptions : ISaveOptions

Constructors

Name Description
MarkdownSaveOptions() The default constructor.

Properties

Name Description
ExportImagesAsBase64 { get; set; } Specifies whether images are saved in Base64 format to the output file. Default is false.
ImagesFolder { get; set; } Specifies the physical folder where images are saved when exporting a document to the Markdown format. Default is null.
OptimizeMemoryUsage { get; set; } Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance).
TableContentAlignment { get; set; } Allow specifies how to align contents in tables when exporting into the Markdown format. The default value is Auto.

Remarks

MarkdownSaveOptions class must be applied by the user when there is an instance of EditableDocument class, that contains an edited document content, and it is required to save this content to the new document of Markdown format.

See Also