Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / UIHelper Class / Format Method / Format(IEvaluationContext,IValue,CalcError,Int32) Method


In This Topic
    Format(IEvaluationContext,IValue,CalcError,Int32) Method
    In This Topic
    Formats a value by formatter and return a string.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Format( _
       ByVal context As IEvaluationContext, _
       ByVal value As IValue, _
       ByRef calcError As CalcError, _
       ByVal maxDisplayLength As Integer _
    ) As String
    'Usage
     
    
    Dim context As IEvaluationContext
    Dim value As IValue
    Dim calcError As CalcError
    Dim maxDisplayLength As Integer
    Dim value As String
     
    value = UIHelper.Format(context, value, calcError, maxDisplayLength)

    Parameters

    context
    value
    calcError
    maxDisplayLength

    Return Value

    Text of a value.
    See Also