floating graphics using BuildFreeform

W

Wai

Hi,

I have added lines and textboxs using VBA at the selection (i.e. the cursor)
in a WORD document, The distances were measured in points from the selection
and everything was fine. However, when I added curves with "BuildFreeform"
using VBA, the distances were always measured from the top left corner of the
document, instead of the cursor. I got two questions:
1. Can I use "BuildFreeform" with the distance measured from the selection?
2. How do I know the horizontal and vertical distance, in points, of the
selection from the top left corner of the document?

Please advise.
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?V2Fp?=,
I have added lines and textboxs using VBA at the selection (i.e. the cursor)
in a WORD document, The distances were measured in points from the selection
and everything was fine. However, when I added curves with "BuildFreeform"
using VBA, the distances were always measured from the top left corner of the
document, instead of the cursor. I got two questions:
1. Can I use "BuildFreeform" with the distance measured from the selection?
2. How do I know the horizontal and vertical distance, in points, of the
selection from the top left corner of the document?
1. I don't think you can
2. Selection.Information has some arguments that should give you this
information.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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