NewLineType

NewLineType enumeration

Type of new line that will be used in generated document.

public enum NewLineType

Values

NameValueDescription
Windows0
Unix1
Mac2Mac (OS 9) new line - \r

Examples

Example

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    using (Stream stream = new FileStream("doc.md", FileMode.OpenOrCreate))
    {
        MarkdownSaveOptions markdownSaveOptions = new MarkdownSaveOptions
        {
            ShowHiddenSlides = true,
            ShowSlideNumber = true,
            Flavor = Flavor.Github,
            ExportType = MarkdownExportType.Sequential,
            NewLineType = NewLineType.Windows
        }
        pres.Save(stream, new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9 }, SaveFormat.Md, markdownSaveOptions);
    }
}

See Also