MarkdownExportType

MarkdownExportType Aufzählung

Art des Renderndokuments.

public enum MarkdownExportType

Werte

NameWertBeschreibung
Sequential0Alle Elemente separat rendern. Eins nach dem anderen.
TextOnly1Nur Text rendern.
Visual2Alle Elemente rendern, gruppierte Elemente zusammen rendern.

Beispiele

Beispiel:

[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);
}

Siehe auch