XlFormattingObject.FormatType Property
Gets or sets the type of formatting applied to the current value.
Namespace: DevExpress.Export
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public FormatType FormatType { get; set; }
#Property Value
Type | Description |
---|---|
Format |
The formatting type. |
Available values:
Name | Description |
---|---|
None | No formatting is performed. Setting the Format |
Numeric | Specifies that values should be formatted as numbers. Setting Format Also Format |
Date |
Specifies that values should be formatted as the Date Setting Format |
Custom | Use Custom to format string values. Use Custom when assigning a custom IFormat Setting Format |
#Remarks
Use the FormatType and XlFormattingObject.FormatString properties to format values based on the current language and regional settings (culture). FormatType specifies how to interpret values. FormatString specifies a format pattern appropriate for the specified formatting type. You can refer to the Standard Numeric Format Strings and Date and Time Format Strings topics in MSDN for information on format specifiers.
See Formatting Values to learn more.