Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / INumFmtSupportCellType Interface / GetFormatter Method
A System.Globalization.CultureInfo object that supplies culture-specific formatting information.
The number format code to format value.


In This Topic
    GetFormatter Method (INumFmtSupportCellType)
    In This Topic
    Gets the formatter which represents the behavior of this cell type.
    Syntax
    'Declaration
     
    
    Function GetFormatter( _
       ByVal culture As CultureInfo, _
       ByVal formatCode As String _
    ) As IFormatter
    'Usage
     
    
    Dim instance As INumFmtSupportCellType
    Dim culture As CultureInfo
    Dim formatCode As String
    Dim value As IFormatter
     
    value = instance.GetFormatter(culture, formatCode)

    Parameters

    culture
    A System.Globalization.CultureInfo object that supplies culture-specific formatting information.
    formatCode
    The number format code to format value.

    Return Value

    An IFormatter object represents the formatter.
    See Also