[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.BuiltInNumberFormats.GetBuiltInId

GetBuiltInId Method

GetBuiltInId(string)

Gets the built-in ID of the specified number format.

Declaration
public static int GetBuiltInId(string format)
Public Shared Function GetBuiltInId(format As String) As Integer
Parameters
Type Name Description
string format

A string value indicates the number format.

Returns
Type Description
int

A int value represents the built-in ID. Return -1 means the number format is not a built-in number format.