Hi,
I need to insert images in different pages. All the images will be different and it will be inserted in to different location like table cells.
I have tried the example in the MSDN link -http://msdn.microsoft.com/en-us/library/office/bb497430.aspx
But after inserting the document is getting corrupted. Insertion of one image with the same code works , but i try inserting another image document is getting corrupted. RelationshipID is passed different from addImagePart creates new relationshipID.
I tried opening recovered docuemnt and the corrupted document in Open XMl SDk 2.5 Productivity Tool and i Could see the images are stored in /media/folder in the corrupted document and /word/media/ in the recovered document. Is this would be the reason for getting corrupted?
Pleas help me with this as i'm stuck with this for some time
I'm using OS: Windows 8, OpenXMLSDK 2.5 and office 2013
regards,
Swaroop