Visual Basic (Declaration) | |
---|---|
Public Overridable Function GetCellType( _ ByVal row As Integer, _ ByVal column As Integer _ ) As ICellType |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim row As Integer Dim column As Integer Dim value As ICellType value = instance.GetCellType(row, column) |
Parameters
- row
- Row index of the cell
- column
- Column index of the cell
Return Value
ICellType object containing the type of cellThis is not necessarily the same as the value in the CellType property for the Cell, Row, or Column objects.
This example illustrates the use of this member by returning the cell type for the specified cell.
C# | Copy Code |
---|---|
fpSpread1.ActiveSheet.Cells[0, 0, 2, 2].CellType = new FarPoint.Win.Spread.CellType.ButtonCellType();
label1.Text = Convert.ToString(fpSpread1.ActiveSheet.GetCellType(1, 1)); |
Visual Basic | Copy Code |
---|---|
FpSpread1.ActiveSheet.Cells(0, 0, 2, 2).CellType = New FarPoint.Win.Spread.CellType.ButtonCellType()
Label1.Text = Convert.ToString(FpSpread1.ActiveSheet.GetCellType(1, 1)) |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
Reference
SheetView ClassSheetView Members
CellType Property (Cell)
CellType Property (Row)
CellType Property (Column)