Spread ASP.NET 6.0 Product Documentation
GetFormatter Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : GetFormatter Method


row
Row index of the cell
column
Column index of the cell

Glossary Item Box

Gets the formatter used to format a cell at the specified row and column.

Syntax

Visual Basic (Declaration) 
Public Overridable Function GetFormatter( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As IFormatter
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As IFormatter
 
value = instance.GetFormatter(row, column)
C# 
public virtual IFormatter GetFormatter( 
   int row,
   int column
)

Parameters

row
Row index of the cell
column
Column index of the cell

Return Value

IFormatter object that represents the formatter

Example

This example gets the formatter for the specified cell.
C#Copy Code
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));
Visual BasicCopy Code
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))

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.