GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class > GetSpanCell Method : GetSpanCell(Int32,Int32) Method |
'Declaration Public Overloads Function GetSpanCell( _ ByVal row As Integer, _ ByVal column As Integer _ ) As CellRange
gcSpreadSheet1.Sheets[0].AddSpanCell(1, 1, 3, 3); private void Button_Click_1(object sender, RoutedEventArgs e) { GrapeCity.Xaml.SpreadSheet.Data.CellRange r; r = gcSpreadSheet1.Sheets[0].GetSpanCell(1, 1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells); // r = gcSpreadSheet1.Sheets[0].GetSpanCell(1, 1); listBox1.Items.Add(r.Column.ToString()); }
GcSpreadSheet1.Sheets(0).AddSpanCell(1, 1, 3, 3) Private Sub Button_Click_1(sender As Object, e As RoutedEventArgs) Dim r As GrapeCity.Xaml.SpreadSheet.Data.CellRange r = GcSpreadSheet1.Sheets(0).GetSpanCell(1, 1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells) 'r = GcSpreadSheet1.Sheets(0).GetSpanCell(1, 1) ListBox1.Items.Add(r.Column.ToString()) End Sub
Target Platforms: Windows Server 2012, Windows RT