回复 3楼shone的帖子
没有方法一次性的复制整行的所有设置,还是需要循环单元格来实现,现在提供的方法只能复制样式:
- FarPoint.Web.Spread.Model.DefaultSheetStyleModel dsst1 = FpSpread1.ActiveSheetView.StyleModel as FarPoint.Web.Spread.Model.DefaultSheetStyleModel;
- var style = dsst1.GetArray(1, 0, 1, 10);
- FarPoint.Web.Spread.Model.DefaultSheetStyleModel dsst2 = FpSpread2.ActiveSheetView.StyleModel as FarPoint.Web.Spread.Model.DefaultSheetStyleModel;
- dsst2.SetArray(1, 0, style);
复制代码 |