Spread Windows Forms 6.0 Product Documentation
GetArray(Int32,Int32,Int32,Int32,Boolean) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetDataModel Class > GetArray Method : GetArray(Int32,Int32,Int32,Int32,Boolean) Method


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.

Glossary Item Box

Gets an object array from a specified range of cells.

Syntax

Visual Basic (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(,)
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetDataModel
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)
C# 
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.

Requirements

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

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.