GrapeCity.Xaml.Excel
GetCell Method (ExcelWorksheet)


GrapeCity.Excel Namespace > ExcelWorksheet Class : GetCell Method
The zero-based row index of the cell
The zero-based column index of the cell.
If set to true. It will create the cell if the cell is null at the specified row and column when the row and column is in the valid range
Gets the cell at the specified row and column.
Syntax
'Declaration
 
Public Function GetCell( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   Optional ByVal create As Boolean _
) As IExcelCell
'Usage
 
Dim instance As ExcelWorksheet
Dim row As Integer
Dim column As Integer
Dim create As Boolean
Dim value As IExcelCell
 
value = instance.GetCell(row, column, create)
public IExcelCell GetCell( 
   int row,
   int column,
   bool create
)

Parameters

row
The zero-based row index of the cell
column
The zero-based column index of the cell.
create
If set to true. It will create the cell if the cell is null at the specified row and column when the row and column is in the valid range

Return Value

An IExcelCell instance represents the cell at he specified location
See Also

Reference

ExcelWorksheet Class
ExcelWorksheet Members