Class MarkdownSaveOptions

MarkdownSaveOptions class

Represents the document save option class in the markdown format.

public class MarkdownSaveOptions : UnifiedSaveOptions

Constructors

NameDescription
MarkdownSaveOptions()The default constructor.

Properties

NameDescription
CloseResponse { get; set; }Gets or sets boolean value which indicates will Response object be closed after document saved into response.
EmphasisStyle { get; set; }Gets or sets the style of emphasis for generated document.
ExtractOcrSublayerOnly { get; set; }This atrribute turned on functionality for extracting image or text for PDF documents with OCR sublayer.
HeadingLevels { get; set; }Defines expected heading levels to use in FontSize recognition headers strategy. If this property value is set, then header recognition Heuristic strategy will be selected when set Auto strategies even if the document contains bookmarks.
HeadingRecognitionStrategy { get; set; }Gets or sets the heading recognition strategy.
HeadingStyle { get; set; }Gets or sets the heading style for generated document.
LineBreakStyle { get; set; }Gets or sets the line break style for generated document.
ResourcesDirectoryName { get; set; }Gets and sets the directory name to save document resources such as images. If the value is not specified, then the images will be written to the same directory as the markdown file itself. This is not path, it is only name! This directory will be automatically created in the directory with the saved markdown file.
SaveFormat { get; }Format of data save.
SubscriptAndSuperscriptConversion { get; set; }Gets ans sets allowance to convert subscript and superscript. This value is true by default.
UseImageHtmlTag { get; set; }Gets and sets allowance to use of an img tag to insert images to the left and right of the text. In this case, in the markdown viewer, the text will wrap around the image.
WarningHandler { get; set; }Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.

Fields

NameDescription
TryMergeAdjacentSameBackgroundImagesSometimes PDFs contain background images (of pages or table cells) constructed from several same tiling background images put one near other. In such case renderers of target formats (f.e MsWord for DOCS format) sometimes generates visible boundaries beetween parts of background images, cause their techniques of image edge smoothing (anti-aliasing) is different from Acrobat Reader. If it looks like exported document contains such visible boundaries between parts of same background images, please try use this setting to get rid of that unwanted effect. ATTENTION! This optimization of quality usually essentially slows down conversion, so, please, use this option only when it’s really necessary.

See Also