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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
SheetView ClassSheetView Members
CellType Property (Cell)
CellType Property (Row)
CellType Property (Column)