FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetDataModel Class > GetArray Method : GetArray(Int32,Int32,Int32,Int32,Boolean) Method |
'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(,)
FarPoint.Web.Spread.Model.DefaultSheetDataModel dm = (FarPoint.Web.Spread.Model.DefaultSheetDataModel)FpSpread1.ActiveSheetView.DataModel; object[,] arr; arr = dm.GetArray(0, 0, 2, 2, true); ListBox1.Items.Add(Convert.ToString(arr.GetLowerBound(1)));
Dim dm As FarPoint.Web.Spread.Model.DefaultSheetDataModel = CType(FpSpread1.ActiveSheetView.DataModel, FarPoint.Web.Spread.Model.DefaultSheetDataModel) Dim arr(,) As Object arr = dm.GetArray(0, 0, 2, 2, True) ListBox1.Items.Add(Convert.ToString(arr.GetLowerBound(1)))
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6