XlsxSaveOptions.SectionMode

XlsxSaveOptions SectionMode property. Gets or sets the way how sections are handled when saving to the output XLSX document. The default value is MultipleWorksheets.

XlsxSaveOptions.SectionMode property

Gets or sets the way how sections are handled when saving to the output XLSX document. The default value is MultipleWorksheets.

public XlsxSectionMode SectionMode { get; set; }

Examples

Shows how to configure exporting to XLSX format.

XlsxSaveOptions xlsxSaveOptions = new XlsxSaveOptions();
xlsxSaveOptions.CompressionLevel = CompressionLevel.SuperFast;
xlsxSaveOptions.DateTimeParsingMode = XlsxDateTimeParsingMode.UseCurrentLocale;
xlsxSaveOptions.SectionMode = XlsxSectionMode.SingleWorksheet;

Converter.Create()
    .From(MyDir + "TestSpliter.docx")
    .To(ArtifactsDir + "xlsxSaveOptions.xlsx", xlsxSaveOptions)
    .Execute();

See Also