你好,请参考以下代码设置:
- this.fpSpread1.ActiveSheet.ColumnFooter.Visible = true;
- FarPoint.Win.Spread.StyleInfo test = new FarPoint.Win.Spread.StyleInfo();
- test.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- test.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- test.BackColor = System.Drawing.Color.Black;
- this.fpSpread1.ActiveSheet.ColumnFooter.DefaultStyle = test;
复制代码 |