你好,在farpoint上選擇了一塊數據(用鼠標選中一塊區域),如何能得到選擇的區域的對象,用一下方法是報錯的
FarPoint.Win.Spread.Model.CellRange[] cr;
cr = fpSpread1.ActiveSheet.GetSelections();
label1.Text = "The selection covers cells " + cr[0].Row + ", " + cr[0].Column + ", " + cr[0].RowCount + ", " + cr[0].ColumnCount; |
|