Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / BuiltInNumberFormats Class / GetPredefinedNumberFormat Method
The predefined number format category.
The associated culture.
A numeric value indicates the total number of decimal digits.


In This Topic
    GetPredefinedNumberFormat Method
    In This Topic
    Gets predefined number format from the specified category.
    Syntax
    'Declaration
     
    
    Public Shared Function GetPredefinedNumberFormat( _
       ByVal numFmt As PredefinedNumberFormats, _
       ByVal cultureInfo As CultureInfo, _
       ByVal decimalDigits As Integer _
    ) As NumberFormat
    'Usage
     
    
    Dim numFmt As PredefinedNumberFormats
    Dim cultureInfo As CultureInfo
    Dim decimalDigits As Integer
    Dim value As NumberFormat
     
    value = BuiltInNumberFormats.GetPredefinedNumberFormat(numFmt, cultureInfo, decimalDigits)
    public static NumberFormat GetPredefinedNumberFormat( 
       PredefinedNumberFormats numFmt,
       CultureInfo cultureInfo,
       int decimalDigits
    )

    Parameters

    numFmt
    The predefined number format category.
    cultureInfo
    The associated culture.
    decimalDigits
    A numeric value indicates the total number of decimal digits.
    See Also