XlsxDateTimeParsingMode Enum
Wordize.Saving.XlsxDateTimeParsingMode enum. Specifies how document text is parsed to identify date and time values.
XlsxDateTimeParsingMode enumeration
Specifies how document text is parsed to identify date and time values.
public enum XlsxDateTimeParsingMode
Values
Name | Value | Description |
---|---|---|
UseCurrentLocale | 0 | The datetime format set for the current thread is used first to parse string values. If the parsing fails, other common datetime formats are tried. |
Auto | 1 | The datetime format used in a document is determined automatically. This may take additional time. |
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