您好,
目前能够解决的方案,是在加载后对边线进行处理,可以参考- Border border = new Border(BorderStyle.Solid, System.Drawing.Color.Red, 3);
- for (int i = 0; i < this.FpSpread1.Sheets[0].RowCount; i++)
- {
- for (int j = 0; j < this.FpSpread1.Sheets[0].ColumnCount; j++)
- {
- this.FpSpread1.Sheets[0].Cells[i, j].Border = border;
- }
- }
复制代码 |