您好:
可以设置 cellType.TextOrientation = FarPoint.Win.TextOrientation.TextTopDown; 将文字竖向显示
- fpSpread1.Sheets[0].Cells[1, 3].Text = "Test";
- FarPoint.Win.Spread.CellType.TextCellType cellType = new FarPoint.Win.Spread.CellType.TextCellType();
- cellType.TextOrientation = FarPoint.Win.TextOrientation.TextTopDown;
- fpSpread1.Sheets[0].Cells[1, 3].CellType = cellType;
复制代码 |