XlsxSectionMode Enum

Wordize.Saving.XlsxSectionMode enum. Specifies how sections are handled when saving a document in the XLSX format.

XlsxSectionMode enumeration

Specifies how sections are handled when saving a document in the XLSX format.

public enum XlsxSectionMode

Values

NameValueDescription
MultipleWorksheets0Specifies that a separate worksheet is created for each section of a document.
SingleWorksheet1Specifies that all sections of a document are saved on one worksheet.

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