Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

Insert an image into Word using Open XML SDK 2.0

$
0
0

Hello,  I am pretty new to Open XML but finally I was able to create a document generator based on a template, using the SDK 2.0, VB.net (could this be the problem??) 3.0 framework and Office 2007.  We have images (in a folder) that need to be inserted at certain places through out the document.  I was trying to find examples of code on the best way to handle this and did find several sites (see links below) but so far I cannot get an image to display in the document when I open the document.  Here are several sites with sample code which I could not get the image to display; the last site, I could not get the code to complie (it's in VB.net; maybe I should switch to c#). I was really hoping that the fewest lines of code (1st site) would do the trick...

http://social.msdn.microsoft.com/Forums/en-US/oxmlsdk/thread/1030bedd-c097-47ef-82a1-bc7a259bcb87/

http://openxmldeveloper.org/forums/thread/3910.aspx

http://blogs.msdn.com/brian_jones/archive/2009/01/19/pushing-data-from-a-database-into-a-word-document.aspx

http://msdn.microsoft.com/en-us/library/ee342530.aspx

http://msdn.microsoft.com/en-us/library/bb497430(office.14).aspx

What am I missing?  Please let me know if you need further information.....any help would be greatly appreicated!

Thanks


Viewing all articles
Browse latest Browse all 1288

Trending Articles



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