FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス : GetSpanCell メソッド |
'Declaration Public Overridable Function GetSpanCell( _ ByVal row As Integer, _ ByVal column As Integer _ ) As CellRange
指定したセルを含むセル結合の範囲を含む CellRange オブジェクト
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