Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Renderer Namespace / IFormatter Interface / Format Method
Object to format

In This Topic
    Format Method (IFormatter)
    In This Topic
    Formats the object as a string.
    Function Format( _
       ByVal o As Object _
    ) As String
    Dim instance As IFormatter
    Dim o As Object
    Dim value As String
    value = instance.Format(o)
    string Format( 
       object o


    Object to format

    Return Value

    Formatted string to put in the cell on the sheet
    The data model for a sheet only stores the raw unformatted data. Each time the data needs to be painted, the formatter must be called to transform the data from its raw unformatted form to its displayed form. The Format method is called whenever a cell needs to render, in which case a string representation of the data is needed to draw in the cell.
    See Also