Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Using VB to place pictures behind text

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Cleave - 19 Jan 2006 12:06 GMT
Hi all

I give up! How do I set a picture to go behind text using VB? It doesn’t
seem to be one of the WrapFormat.Type constants. Z-Order doesn’t seem to work
either.

Many thanks

David
Tony Jollans - 19 Jan 2006 12:23 GMT
If the picture is in line with the text it is an "InlineShape" - if ithas
any other type of wrapping, it is a Shape. It sounds like you have an
inlineshape, so you need to convert it ...

   [YourPicture].ConvertToShape

You should then be able to use WrapFormat, etc.

--
Enjoy,
Tony

> Hi all
>
> I give up! How do I set a picture to go behind text using VB? It doesn't
> seem to be one of the WrapFormat.Type constants. Z-Order doesn't seem to
work
> either.
>
> Many thanks
>
> David
David Cleave - 19 Jan 2006 12:39 GMT
Hi Tony

Thank you for your reply. Currently the picture is sitting on top of the
text, so it is not inline. I just need to be able to set it behind the text!

Any tips?

Cheers

David

> If the picture is in line with the text it is an "InlineShape" - if ithas
> any other type of wrapping, it is a Shape. It sounds like you have an
[quoted text clipped - 18 lines]
> >
> > David
Tony Jollans - 19 Jan 2006 13:08 GMT
And

   [Shape].ZOrder msoSendBehindText

doesn't work?

--
Enjoy,
Tony

> Hi Tony
>
[quoted text clipped - 29 lines]
> > >
> > > David
David Cleave - 19 Jan 2006 13:25 GMT
Tony

That works perfectly! I didn't spot that in the IntelliSense list.

Thank you

David

> And
>
[quoted text clipped - 43 lines]
> > > >
> > > > David
Tony Jollans - 19 Jan 2006 13:43 GMT
My pleasure!

--
Enjoy,
Tony

> Tony
>
[quoted text clipped - 51 lines]
> > > > >
> > > > > David
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.