GrapeCity.Xaml.SpreadSheet.Data
GetArray(Int32,Int32,Int32,Int32,Boolean) Method


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class > GetArray Method : GetArray(Int32,Int32,Int32,Int32,Boolean) Method
Row index of the cell from which to read into the array
Column index of the cell from which to read into the array
Number of rows in the array
Number of columns in the array
If true, return formulas; otherwise, return values.
Gets an object array from a specified range of cells.
Syntax
'Declaration
 
Public Overloads Function GetArray( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer, _
   ByVal formula As Boolean _
) As Object(,)
'Usage
 
Dim instance As Worksheet
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim formula As Boolean
Dim value() As Object
 
value = instance.GetArray(row, column, rowCount, columnCount, formula)
public object[,] GetArray( 
   int row,
   int column,
   int rowCount,
   int columnCount,
   bool formula
)

Parameters

row
Row index of the cell from which to read into the array
column
Column index of the cell from which to read into the array
rowCount
Number of rows in the array
columnCount
Number of columns in the array
formula
If true, return formulas; otherwise, return values.
See Also

Reference

Worksheet Class
Worksheet Members
Overload List