XlsxSaveOptions.DateTimeParsingMode

XlsxSaveOptions DateTimeParsingMode property. Gets or sets the mode that specifies how document text is parsed to identify date and time values. The default value is UseCurrentLocale.

XlsxSaveOptions.DateTimeParsingMode property

Gets or sets the mode that specifies how document text is parsed to identify date and time values. The default value is UseCurrentLocale.

public XlsxDateTimeParsingMode DateTimeParsingMode { 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