Accessing MS WORD's Format Picture capability in C#

C

CodeMann

I am using the Interop.Word object library in Visual C#.
I am pasting the ActiveWindow into a Word doc as follows:
Word.Application word = new Word.Application();
word.Documents.Add(ref missing, ref missing,ref missing,ref missing);
word.Application.Selection.Paste();

I want to be able to change the height and width of the picture object
programmatically.

I can manually right-click on the picture and choose "Format Picture",
select the "Size" tab and modify the Height and Width properties of the
picture.

However, how can I do this via the Word object in C#?
Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top