Gets an object array from a specified range of cells.
            
            
            
Syntax
            Parameters
- row
 
- Starting model row index
 - column
 
- Starting model column index
 - rowCount
 
- Number of rows to copy
 - columnCount
 
- Number of columns to copy
 
            
            Return Value
Two-dimensional object array[row,column] containing tabular data
 
            
						
            
            
            
            
Example
FarPoint.Win.Spread.Model.IArraySupport.GetArray
             
| C# |  Copy Code | 
|---|
FarPoint.Win.Spread.Model.IArraySupport ias;
ias = (FarPoint.Win.Spread.Model.IArraySupport)fpSpread1.ActiveSheet.Models.Data;
object[,] x = {{6.0, 5.0, 11.0, 7.0, 5.0, 4.0, 4.0}};
ias.SetArray(0, 0, x);
object[,] arr;
arr = ias.GetArray(0, 0, 1, 7);
MessageBox.Show("The last column in the array is " + arr.GetUpperBound(1).ToString()); | 
 
| Visual Basic |  Copy Code | 
|---|
Dim ias As FarPoint.Win.Spread.Model.IArraySupport
ias = FpSpread1.ActiveSheet.Models.Data
Dim x As Object(,) = {{2.0, 3.0, 9.0, 1.0, 8.0, 7.0, 5.0}}
ias.SetArray(0, 0, x)
Dim arr(,) As Object
arr = ias.GetArray(0, 0, 1, 7)
MessageBox.Show("The last column in the array is " & arr.GetUpperBound(1).ToString()) | 
 
 
            
            
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
 
            
            
See Also