回复 1楼mouise716的帖子
可以通过 TextCellType 来实现:
后台代码:
- FarPoint.Web.Spread.TextCellType test = new FarPoint.Web.Spread.TextCellType();
- test.ShowEditor = true;
- test.CssClass = "TextCellCssClass";
- test.CellCssClass = "TextCellTypeCssClass";
- FpSpread1.Sheets[0].Cells[0, 0].CellType = test;
- FpSpread1.Sheets[0].Cells[0, 0].Value = "第一组水平文字";
复制代码
前台样式:
- <style type="text/css">
- .TextCellTypeCssClass {
- writing-mode: tb-rl;
- }
- .TextCellCssClass
- {
- writing-mode: tb-rl;
- }
- </style>
复制代码 |