Spread Silverlight Documentation
GetArrayFormula Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : GetArrayFormula Method
The row index.
The column index.
The row count.
The column count.
Gets the formula in the specified area in this sheet.
Syntax
'Declaration
 
Public Function GetArrayFormula( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal rowCount As System.Integer, _
   ByVal columnCount As System.Integer _
) As System.String
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim column As System.Integer
Dim rowCount As System.Integer
Dim columnCount As System.Integer
Dim value As System.String
 
value = instance.GetArrayFormula(row, column, rowCount, columnCount)
public System.string GetArrayFormula( 
   System.int row,
   System.int column,
   System.int rowCount,
   System.int columnCount
)

Parameters

row
The row index.
column
The column index.
rowCount
The row count.
columnCount
The column count.

Return Value

Returns the formula string.
Example
This example uses the GetArrayFormula method.
GcSpreadSheet1.Sheets[0].SetArrayFormula(0, 3, 4, 1, "B2:B5*C2:C5");
TextBox1.Text = GcSpreadSheet1.Sheets[0].GetArrayFormula(0, 3, 4, 1).ToString();
GcSpreadSheet1.Sheets(0).SetArrayFormula(0, 3, 4, 1, "B2:B5*C2:C5")
TextBox1.Text = GcSpreadSheet1.Sheets(0).GetArrayFormula(0, 3, 4, 1).ToString()
See Also

Reference

Worksheet Class
Worksheet Members