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
Name | Value | Description |
---|---|---|
MultipleWorksheets | 0 | Specifies that a separate worksheet is created for each section of a document. |
SingleWorksheet | 1 | Specifies 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
- namespace Wordize.Saving
- assembly Wordize