Click here to Skip to main content
15,900,511 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to open a word document using docX dll and insert some images below the heading IMAGES: on the word document.
could anyone please help me to find the line starts with Images in the word document using DocX dll in c#,
i can insert the image by using the below code but am not able to find the exact place to fix those images.
// Add an Image to the docx file

Novacode.Image img = doc.AddImage(@"C:abc.jpg");
Picture pic = img.CreatePicture();
pic.Width = 600;
pic.Height = 300;

I have gothrough this linkC#: Create and Manipulate Word Documents Programmatically Using DocX[^]

Note: I am not using interop dll to open or save the word documents.

Thanks in Advance
Posted
Updated 7-Jan-15 2:17am

You should post your question in the forum at the end of the article so the author sees it.
 
Share this answer
 
Actually you could ask the DocX community or maker of DocX: http://docx.codeplex.com/discussions[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900