通过代码的话需要先设置选择单位为列,然后添加选区,然后复制
- fpSpread1.ActiveSheet.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Column;
- fpSpread1.ActiveSheet.Models.Selection.AddSelection(0, fpSpread1.ActiveSheet.ActiveColumnIndex, 1, 1);
- fpSpread1.ActiveSheet.ClipboardCopy();
复制代码 |