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

NameValueDescription
UseCurrentLocale0The datetime format set for the current thread is used first to parse string values. If the parsing fails, other common datetime formats are tried.
Auto1The 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