NewLineType
NewLineType enumeration
Type of new line that will be used in generated document.
public enum NewLineType
Values
Name | Value | Description |
---|---|---|
Windows | 0 | |
Unix | 1 | |
Mac | 2 | Mac (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
- namespace Aspose.Slides.DOM.Export.Markdown.SaveOptions
- assembly Aspose.Slides