无法使用注释将图像插入到Excel工作表中

问题描述:

大家好,

我在将图像插入具有单元格(已插入注释)的工作表中时遇到问题.

我的意思是说我的Excel工作表中很少有单元格插入注释.当我尝试使用OpenXML SDK V2.0插入图像时,输出的excel文件变得不可读.

对于空白的Excel文档,我做了相同的事情(相同的代码).效果很好.
我找不到丢失的内容.

有人可以帮我吗?

谢谢和问候,
YKK Reddy

Hi All,

I am facing a problem in inserting the image in Sheet which has cell (that has comments inserted).

I mean to say few cells in my Excel sheet have comments inserted. When i try to insert image using OpenXML SDK V2.0, the output excel file becomes unreadable.

I have done the same thing (same code) for blank Excel document. It works just fine.
I am not able to find what is missing..

Can anyone help me in this ?

Thanks and Regards,
YKK Reddy



您可以访问此链接http://aspsnippets.com/Search.aspx?q=image,有关该图像的所有示例,保存,excel在此站点上都有.

希望有人能帮忙.

谢谢.
Hi,

You can visit this link http://aspsnippets.com/Search.aspx?q=image , all sample regarding the image, saving, excel has on this site.

Hope that one can help.

Thank You.




对于那些需要此服务的人,我也将发布解决方案.
我在MSDN Microsoft论坛上发布了相同的问题,并找到了解决方案.

我在下面发布链接.如果需要,请阅读整篇文章.
http://social.msdn.microsoft.com/Forums/zh_CN/oxmlsdk/thread/fa5e5b9a-c80f-42a7-9545-dbcd428cd35f [
Hi,

For those who need this i am posting the solution also.
I posted the same question in MSDN Microsoft forums and got the solution.

I am posting the link below. Go through the entire post if needed.
http://social.msdn.microsoft.com/Forums/en/oxmlsdk/thread/fa5e5b9a-c80f-42a7-9545-dbcd428cd35f[^]

Thanks and Regards,
YKK Reddy