MarkdownExportOptions Class
Provides configuration options for exporting Excel workbooks into Markdown.
Inheritance
System.Object
MarkdownExportOptions
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class MarkdownExportOptions : Object
Constructors
MarkdownExportOptions()
Declaration
public MarkdownExportOptions()
Properties
PreserveEmptyRow
Gets or sets a value indicating whether empty rows should be preserved during export. Default: false
Declaration
public bool PreserveEmptyRow { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Examples
The following code snippet illustrates how to save a workbook as Markdown to a stream with options.
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Excel2013;
IWorkbook workbook = application.Workbooks.Open("Sample.xlsx");
Stream stream = new MemoryStream();
var options = new MarkdownExportOptions { PreserveEmptyRow = true };
workbook.SaveAs(stream, options);
SaveOptions
Declaration
public SaveOptions SaveOptions { get; }
Property Value
| Type |
|---|
| Syncfusion.Office.Markdown.SaveOptions |
UseDisplayText
Declaration
public bool UseDisplayText { get; set; }
Property Value
| Type |
|---|
| System.Boolean |