Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Adding image using Open XML

$
0
0
Hey there!
Could really use some help with this problem.
I'm trying to make a program that uses ClosedXML and OpenXML.
ClosedXML is used for creating and updating the data in a excel file, and the OpenXML is only used for adding an image to an Excel file.

It's working okay in some ways but the trouble comes when I try to add in an image to an existing excel file.
Since the file is created in ClosedXML, how do I open it using OpenXML and add the image?
Here is the code I use for creating the XML and the code I use for updating the image in OpenXML.

http://pastebin.com/Z1LyvdxN

I don't really know how to make it work and would really appreciate any feedback with it. Thanks!

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>