在这种模式下可以设置自定义的旋转角度:
- FarPoint.Win.Spread.CellType.GeneralCellType gct = new FarPoint.Win.Spread.CellType.GeneralCellType();
- gct.TextOrientation = FarPoint.Win.TextOrientation.TextRotateCustom;
- gct.TextRotationAngle = 30;
- this.fpSpread1.ActiveSheet.Cells[0, 0].CellType = gct;
复制代码 |