Enum TxtLoadStyleStrategy
Enum TxtLoadStyleStrategy
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Specifies how to apply style for parsed values when converting string value to number or datetime.
public enum TxtLoadStyleStrategy
Fields
BuiltIn = 1
Set the style as built-in number/datetime when the parsed value are plain numeric/datetime values.
When ms excel parsing datetime or numeric values according to user’s input(such as CSV file), the formatting of those values may be changed, such as leading/tailing zeros of number, year/month/day order of datetime, …etc. This type is for simulating ms excel’s behavior.
ExactFormat = 2
Set the exact custom format for the parsed value to make the formatted value be same with the original input one.
None = 0
Does not set style for the parsed value.