Spread Windows Forms 12.0 Product Documentation
GetBuiltInNumberFormat Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > BuiltInNumberFormats Class : GetBuiltInNumberFormat Method
An integer value indicates the number format ID.
The System.Globalization.CultureInfo object that supplies culture-specific formatting information.
Gets a number format string by the specified ID.
Syntax
'Declaration
 
Public Shared Function GetBuiltInNumberFormat( _
   ByVal builtInId As Integer, _
   Optional ByVal cultureInfo As CultureInfo _
) As NumberFormat
'Usage
 
Dim builtInId As Integer
Dim cultureInfo As CultureInfo
Dim value As NumberFormat
 
value = BuiltInNumberFormats.GetBuiltInNumberFormat(builtInId, cultureInfo)
public static NumberFormat GetBuiltInNumberFormat( 
   int builtInId,
   CultureInfo cultureInfo
)

Parameters

builtInId
An integer value indicates the number format ID.
cultureInfo
The System.Globalization.CultureInfo object that supplies culture-specific formatting information.

Return Value

A System.String value represents the built-in number format.
See Also

Reference

BuiltInNumberFormats Class
BuiltInNumberFormats Members