回复 1楼guyizh的帖子
表头单元格目前无法换行,可以通过冻结行模拟表头,并通过以下代码设置折行:
- ss.Col = 1
- ss.Row = 1
- ss.CellType = CellTypeStaticText
- ss.TypeTextWordWrap = True
- ss.Col = 1
- ss.Row = 1
- ss.Text = "This is a long line of text to see if it wraps."
- ss.RowHeight(1) = 50
复制代码 |
|