Group:  Microsoft Word ยป microsoft.public.word.drawing.graphics
Thread: floating graphics using BuildFreeform

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

floating graphics using BuildFreeform
Wai 21.07.2006 15:01:01
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.
Re: floating graphics using BuildFreeform
Cindy M -WordMVP- <C.Meister-C[ at ]hispeed.ch> 22.07.2006 14:38:19
Hi =?Utf-8?B?V2Fp?=,

[Quoted Text]
> 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 :-)

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net