MarkdownExportType
MarkdownExportType 枚举
渲染文档的类型。
public enum MarkdownExportType
值
名称 | 值 | 描述 |
---|---|---|
Sequential | 0 | 分别渲染所有项目。逐个渲染。 |
TextOnly | 1 | 仅渲染文本。 |
Visual | 2 | 渲染所有项目,分组的项目 - 一起渲染。 |
示例
示例:
[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
MarkdownSaveOptions markdownSaveOptions = new MarkdownSaveOptions
{
ShowHiddenSlides = true,
ShowSlideNumber = true,
Flavor = Flavor.Github,
ExportType = MarkdownExportType.Sequential,
NewLineType = NewLineType.Windows
};
pres.Save("doc.md", new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9 }, SaveFormat.Md, markdownSaveOptions);
}
另请参阅
- 命名空间 Aspose.Slides.Export
- 程序集 Aspose.Slides