GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class > SetFormula Method : SetFormula(Int32,Int32,Int32,Int32,String) Method |
'Declaration Public Overloads Sub SetFormula( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal rowCount As Integer, _ ByVal columnCount As Integer, _ ByVal formula As String _ )
gcSpreadSheet1.Sheets[0].SetFormula(0, 0, "D1+D2"); gcSpreadSheet1.Sheets[0].SetFormula(1, 1, 2, 2, "E1+E1"); listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetFormula(0, 0).ToString());
GcSpreadSheet1.Sheets(0).SetFormula(0, 0, "D1+D2") GcSpreadSheet1.Sheets(0).SetFormula(1, 1, 2, 2, "E1+E1") ListBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetFormula(0, 0).ToString())
Target Platforms: Windows Server 2012, Windows RT