- FarPoint.Win.Spread.DrawingSpace.RectangleShape rShape = new FarPoint.Win.Spread.DrawingSpace.RectangleShape();
-
- rShape.Top = 18;
- rShape.Left = 12;
- rShape.BackColor = Color.Transparent;
- rShape.Width = img.Width;
- rShape.Height = img.Height;
- rShape.Enabled = false;
- //rShape.Picture = img;
- rShape.BackgroundImage = new FarPoint.Win.Picture(img);
- fpSpread3.ActiveSheet.AddShape(rShape);
复制代码
我用上面的代码显示一幅图片,为什么shape会有个边框显示出来,怎样去掉这个边框呢??? |
|