Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我在 Excel 工作表上插入了图像...
怎么可能从c#中引用这张图片,非常感谢!
您将需要使用剪贴板对象和 Excel 互操作程序集。见这里。
有两种方法:要么启动excel并通过api获取图像,要么直接使用open xml格式打开excel文件。我会推荐后者。看:
http://msdn.microsoft.com/en-us/library/aa338205.aspx
有关格式的详细信息。