找回密码
 立即注册

QQ登录

只需一步,快速开始

soulsjie

注册会员

7

主题

15

帖子

46

积分

注册会员

积分
46
soulsjie
注册会员   /  发表于:2020-9-25 09:19  /   查看:2950  /  回复:3
30金币
本帖最后由 soulsjie 于 2020-9-27 17:13 编辑

image.png365720824.png image.png775612487.png

如图:设置第一列位勾选框之后,如何调整勾选框的大小?
设置了字体大小也不生效.Font = new Font("仿宋", 21F);  只会调整文本大小,不会调整勾选框的大小
---------------------感谢工作人员的解答,经过提供的参考,解决方式如下--------------------
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
checkBoxCellType2 .Picture.True = Image.FromFile(@".\Img\Checked.png");
checkBoxCellType2 .Picture.False = Image.FromFile(@".\Img\UnChecked.png");效果:
image.png974349670.png


最佳答案

查看完整内容

看到的复选框大小其实就是Picture的大小。设置Picture属性即可改变,参考下面的链接设置https://help.grapecity.com/spread/SpreadNet12/WF/webframe.html#FarPoint.Win.Spread~FarPoint.Win.Spread.CellType.CheckBoxCellType~Picture.html

3 个回复

正序浏览
Richard.Ma讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2020-9-25 10:57:09
4#
2楼已经回复解决办法,抱歉刚才回复错了
回复 使用道具 举报
soulsjie
注册会员   /  发表于:2020-9-25 10:21:53
3#
回复 使用道具 举报
最佳答案
最佳答案
Richard.Ma讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2020-9-25 09:19:44
来自 2#
本帖最后由 Richard.Ma 于 2020-9-25 10:37 编辑

看到的复选框大小其实就是Picture的大小。设置Picture属性即可改变,参考下面的链接设置https://help.grapecity.com/sprea ... llType~Picture.html

回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部