Skip to main content

XlNumberFormat.FormatCode Property

Gets the format code corresponding to the current number format.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public string FormatCode { get; }

Property Value

Type Description
String

A String value that is the format string.

Remarks

Use the FormatCode property to get the format string used by the XlNumberFormat object to format a numeric value in a cell. For more information on how to apply a number format to a cell value, refer to the How to: Specify Number Format for Cell Content example.

See Also