复制Excel图片到Spread for Winforms 表格控件
1、需要添加 Spread PreviewKeyDown 事件来监听 Ctrl + V 粘贴事件:

2、在事件中获取剪切板中数据转换成图片:

3、把图片转换为 Shape 的背景图:

4、效果图如下:

5、以上就是从 Excel 中复制图片到 Spread 中的方法。
阅读量:109
阅读量:180
阅读量:117
阅读量:88
阅读量:24
1、需要添加 Spread PreviewKeyDown 事件来监听 Ctrl + V 粘贴事件:

2、在事件中获取剪切板中数据转换成图片:

3、把图片转换为 Shape 的背景图:

4、效果图如下:

5、以上就是从 Excel 中复制图片到 Spread 中的方法。