我复制的是合并单元格信息,现在想通过变量取得剪切板里刚复制的内容,代码怎么写?
复制的代码如下:
HitTestInformation hidown = fpSpread1.HitTest(downPoint.X, downPoint.Y);
FarPoint.Win.Spread.Model.CellRange cr = fpSpread1.ActiveSheet.Models.Span.Find(hidown.ViewportInfo.Row, hidown.ViewportInfo.Column);
Clipboard.SetDataObject(cr ); |
|