FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetSpanCell Method |
'Declaration Public Overridable Function GetSpanCell( _ ByVal row As Integer, _ ByVal column As Integer _ ) As CellRange
CellRange object containing the range of cells included in the span with the specified cell
fpSpread1.ActiveSheet.AddSpanCell(0, 0, 2, 2); FarPoint.Win.Spread.Model.CellRange cr; cr = fpSpread1.ActiveSheet.GetSPanCell(0, 0); label1.Text = "The span covers cells " + cr.Row + ", " + cr.Column + ", " + cr.RowCount + ", " + cr.ColumnCount;
Dim cr As FarPoint.Win.Spread.Model.CellRange FpSpread1.ActiveSheet.AddSpanCell(0, 0, 2, 2) cr = FpSpread1.ActiveSheet.GetSpanCell(0, 0) Label1.Text = "The span covers cells " & cr.Row & ", " & cr.Column & ", " & cr.RowCount & ", " & cr.ColumnCount
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10