回复 1楼dadado的帖子
设置方法如下:
- FarPoint.Web.Spread.Background bg = new FarPoint.Web.Spread.Background();
- bg.SelectedBackgroundImageUrl = "picture/Winter.jpg";
- bg.BackgroundImageUrl = "picture/Image.bmp";
- bg.Enable = true;
- bg.BackgroundAttachment = "fixed";// inherit, scroll.
- bg.BackgroundPosition = "50% 50%";
- bg.BackgroundRepeat = "repeat-x";
- FarPoint.Web.Spread.StyleInfo style = new FarPoint.Web.Spread.StyleInfo();
- style.Background = bg;
- FpSpread1.Sheets[0].ColumnHeader.DefaultStyle.Background = bg;
复制代码 |