找回密码
 立即注册

QQ登录

只需一步,快速开始

sean03424014

注册会员

8

主题

23

帖子

61

积分

注册会员

积分
61

活字格认证

sean03424014
注册会员   /  发表于:2017-4-12 10:49  /   查看:3026  /  回复:1
cell里面的值默认是横排显示,如何让cell里面的值竖排显示???

1 个回复

倒序浏览
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2017-4-12 16:38:13
沙发
设置 TextOrientation  
       FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
            textCellType1.TextOrientation = FarPoint.Win.TextOrientation.TextTopDown;
            this.fpSpread1_Sheet1.Cells.Get(4, 5).CellType = textCellType1;
            this.fpSpread1_Sheet1.Cells.Get(4, 5).Value = "自顶向下";
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部