找回密码
 立即注册

QQ登录

只需一步,快速开始

hoyoha

新手上路

1

主题

2

帖子

27

积分

新手上路

积分
27
  • 25

    金币

  • 主题

  • 帖子

最新发帖
hoyoha
新手上路   /  发表于:2013-10-25 23:11  /   查看:4203  /  回复:2
  1.                    FarPoint.Win.Spread.DrawingSpace.RectangleShape rShape = new FarPoint.Win.Spread.DrawingSpace.RectangleShape();
  2.                
  3.                     rShape.Top = 18;
  4.                     rShape.Left = 12;
  5.                     rShape.BackColor = Color.Transparent;
  6.                     rShape.Width = img.Width;
  7.                     rShape.Height = img.Height;
  8.                     rShape.Enabled = false;
  9.                     //rShape.Picture = img;
  10.                     rShape.BackgroundImage = new FarPoint.Win.Picture(img);
  11.                     fpSpread3.ActiveSheet.AddShape(rShape);
复制代码


我用上面的代码显示一幅图片,为什么shape会有个边框显示出来,怎样去掉这个边框呢???

2 个回复

倒序浏览
hoyoha
新手上路   /  发表于:2013-10-27 13:21:00
沙发
问题解决,添加一个自定义的shape就可以了..
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2013-10-28 10:24:00
板凳
回复 2楼hoyoha的帖子

好的,感谢反馈问题结果。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部