Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / GetFormatter Method
Row index of the cell
Column index of the cell

In This Topic
    GetFormatter Method
    In This Topic
    Gets the formatter used to format a cell at the specified row and column.
    Public Overridable Function GetFormatter( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As IFormatter
    Dim instance As SheetView
    Dim row As Integer
    Dim column As Integer
    Dim value As IFormatter
    value = instance.GetFormatter(row, column)
    public virtual IFormatter GetFormatter( 
       int row,
       int column


    Row index of the cell
    Column index of the cell

    Return Value

    IFormatter object that represents the formatter
    This example gets the formatter for the specified cell.
    FarPoint.Web.Spread.SheetView sv;
    FarPoint.Web.Spread.Renderer.IFormatter fmttr;
    sv = FpSpread1.ActiveSheetView;
    fmttr = sv.GetFormatter(0, 0);
    Response.Write("The formatter for the cell is a " + Convert.ToString(fmttr));
    Dim sv As FarPoint.Web.Spread.SheetView
    Dim fmttr As FarPoint.Web.Spread.Renderer.IFormatter
    sv = FpSpread1.ActiveSheetView
    fmttr = sv.GetFormatter(0, 0)
    Response.Write("The formatter for the cell is a " & Convert.ToString(fmttr))
    See Also