MarkdownExportType
MarkdownExportType enum
Type of rendering document.
enum class MarkdownExportType
Values
Name | Value | Description |
---|---|---|
Sequential | 0 | Render all items separately. One by one. |
TextOnly | 1 | Render only text. |
Visual | 2 | Render all items, items that are grouped - render together. |
Remarks
Example:
System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(u"pres.pptx");
System::SharedPtr<MarkdownSaveOptions> markdownSaveOptions = System::MakeObject<MarkdownSaveOptions>();
markdownSaveOptions->set_ShowHiddenSlides(true);
markdownSaveOptions->set_ShowSlideNumber(true);
markdownSaveOptions->set_Flavor(Markdown::SaveOptions::Flavor::Github);
markdownSaveOptions->set_ExportType(Markdown::SaveOptions::MarkdownExportType::Sequential);
markdownSaveOptions->set_NewLineType(Markdown::SaveOptions::NewLineType::Windows);
System::ArrayPtr<int32_t> slideIndices = System::MakeArray<int32_t>({1, 2, 3, 4, 5, 6, 7, 8, 9});
pres->Save(u"doc.md", slideIndices, SaveFormat::Md, markdownSaveOptions);
See Also
- Namespace Aspose::Slides::DOM::Export::Markdown::SaveOptions
- Library Aspose.Slides