Aspose::Pdf::PdfToMarkdown::MarkdownSaveOptions class

MarkdownSaveOptions class

Represents the document save option class in the markdown format.

class MarkdownSaveOptions : public Aspose::Pdf::UnifiedSaveOptions

Methods

MethodDescription
get_AreaToExtract() constGet or set an rectangle area to extract content to markdown.
get_EmphasisStyle() constGets the style of emphasis for generated document.
get_ExtractVectorGraphics() constGets and sets a property indicating whether vector graphics should be extracted.
get_HeadingLevels() constDefines expected heading levels to use in FontSize recognition headers strategy. If this property value is set, then header recognition PdfToMarkdown::HeadingRecognitionStrategy::Heuristic strategy will be selected when set PdfToMarkdown::HeadingRecognitionStrategy::Auto strategies even if the document contains bookmarks.
get_HeadingRecognitionStrategy() constGets the heading recognition strategy.
get_HeadingStyle() constGets the heading style for generated document.
get_LineBreakStyle() constGets the line break style for generated document.
get_ResourcesDirectoryName() constGets 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.
get_SubscriptAndSuperscriptConversion() constGets ans sets allowance to convert subscript and superscript. This value is true by default.
get_UseImageHtmlTag() constGets 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.
MarkdownSaveOptions()Creates an instance option to save a document in markdown format.
set_AreaToExtract(System::SharedPtr<Rectangle>)Get or set an rectangle area to extract content to markdown.
set_EmphasisStyle(Aspose::Pdf::PdfToMarkdown::EmphasisStyle)Sets the style of emphasis for generated document.
set_ExtractVectorGraphics(bool)Gets and sets a property indicating whether vector graphics should be extracted.
set_HeadingLevels(System::SharedPtr<Aspose::Pdf::PdfToMarkdown::HeadingLevels>)Defines expected heading levels to use in FontSize recognition headers strategy. If this property value is set, then header recognition PdfToMarkdown::HeadingRecognitionStrategy::Heuristic strategy will be selected when set PdfToMarkdown::HeadingRecognitionStrategy::Auto strategies even if the document contains bookmarks.
set_HeadingRecognitionStrategy(Aspose::Pdf::PdfToMarkdown::HeadingRecognitionStrategy)Sets the heading recognition strategy.
set_HeadingStyle(Aspose::Pdf::PdfToMarkdown::HeadingStyle)Sets the heading style for generated document.
set_LineBreakStyle(Aspose::Pdf::PdfToMarkdown::LineBreakStyle)Sets the line break style for generated document.
set_ResourcesDirectoryName(System::String)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.
set_SubscriptAndSuperscriptConversion(bool)Gets ans sets allowance to convert subscript and superscript. This value is true by default.
set_UseImageHtmlTag(bool)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.

Fields

FieldDescription
IsMultiThreadingProcess pages in few threads.
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