Sending Picture to behind text using Word Automation With C#

P

Pendragon

Hi all

I have a word document and I am inserting a picture at a bookmark.

BookMark1.Range.InlineShapes.AddPicture(PictureLocation.Text, ref
readOnly, ref isVisible, ref missing);

What I need to do is to set the picture layout as Behind Text. I know it has
to be a shape to do this so I use the ConvertToShape method but I don't seem
to be able to find a method to set the layout.

Can anyone help please.
Thank You
 
N

NOPIK

Hi all

I have a word document and I am inserting a picture at a bookmark.

        BookMark1.Range.InlineShapes.AddPicture(PictureLocation.Text, ref
readOnly, ref isVisible, ref missing);

What I need to do is to set the picture layout as Behind Text. I know it has
to be a shape to do this so I use the ConvertToShape method but I don't seem
to be able to find a method to set the layout.

Can anyone help please.
Thank You

Start the Word and record macro - you will se anything you need. ;)
Shape.ShapeRange.ZOrder, for example.
 
P

Pendragon

Thanks NOPIK that was what I was looking for :)

NOPIK said:
Start the Word and record macro - you will se anything you need. ;)
Shape.ShapeRange.ZOrder, for example.
 

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