Image on Pic Content Control

Mar 15, 2012 at 10:34 PM

Me again!

First, thank you for the wonderful code you shared.

 

Next, is there any example on how to substitute a content control of type picture with a string representation (or whatever else) of the picture you want to insert?

 

Thank you

Coordinator
Mar 16, 2012 at 6:59 AM

 

I have added images using msdn code "How to: Insert a Picture into a Word Processing Document" at http://msdn.microsoft.com/en-us/library/bb497430.aspx

Mar 18, 2012 at 10:30 PM

Thank you. Is there a way to use the content controls as in your examples to define where in the document to insert an image?

Mar 19, 2012 at 6:35 PM

Just to let followers know that following the link above I was able to enter an image into the document easily. Thank you for the add.

Suggestion: why not adding a PlaceHolderType.Image?

Coordinator
Mar 19, 2012 at 7:45 PM

Great suggestion. I'll try to incorporate this in the next version. I'm too busy with coding an application using Kinect for Windows SDK. Next version may take more than a month. Thanks.

 

Regards,

Atul

Oct 23, 2012 at 4:36 PM

Hi Atul, great code and has come in really helpful.  Did you have any joy with the Image Placeholder type? 

Mar 19 at 9:18 AM
Hi, here is a how you can insert / draw an image into Word documents. Hope it'll help!