> Take a look at the Top and Left properties of the Shape object in VBA help.
>
[quoted text clipped - 35 lines]
>
> - Show quoted text -
So proceed as follows.
- Read the RelativeVerticalPosition and RelativeHorizontalPosition and store
them somewhere.
- Set both the RelativeVerticalPosition and RelativeHorizontalPosition to be
relative to Page
- Read the Top and Left properties, which will now give you the position of
the shape relative to the top left corner of the page (in points)
- restore the original settings of RelativeVerticalPosition and
RelativeHorizontalPosition

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Hi Jonathan,
Thanks for taking the time to reply.
The help for Top is :
"The position of a shape is measured from the upper-left corner of the
shape's bounding box to the shape's anchor. The
RelativeVerticalPosition property controls whether the shape's anchor
is positioned alongside the line, the paragraph, the margin, or the
edge of the page."
The help for Left is :
"The position of a shape is measured from the upper-left corner of the
shape's bounding box to the shape's anchor. The
RelativeHorizontalPosition property controls whether the anchor is
positioned alongside a character, column, margin, or the edge of the
page."
I am assuming that when the top value is 0, and the left value is 0
then the anchor should be placed in the top left corner of the shape.
I have documents that demonstrate this not to be the case.
I can upload one of these documents to you if you are interested.
I thank you again for your help.
Ferass
On Mar 14, 12:59 pm, "Jonathan West" <jw...@mvps.org> wrote:
> Take a look at the Top and Left properties of the Shape object in VBA
> help.
[quoted text clipped - 43 lines]
>
> - Show quoted text -
felrayes@net-centric.com - 15 Mar 2008 13:28 GMT
Thanks again for your help.
This works for many documents. But for the ones to which I was
referring where the anchor is positioned in the lower left corner of
the image, the coordinates are not correct.
Even when I try to change the alignment from Word (not
programatically), the value that appears in the absolute positon field
in the picture position tab of the advanced layout dialogue box is
incorrect and reflects what I am getting programatically.
Any other suggestions?
Thanks kindly,
Ferass
> So proceed as follows.
>
[quoted text clipped - 91 lines]
>
> - Show quoted text -
Jonathan West - 15 Mar 2008 14:10 GMT
Is the anchor within a table cell?

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Thanks again for your help.
This works for many documents. But for the ones to which I was
referring where the anchor is positioned in the lower left corner of
the image, the coordinates are not correct.
Even when I try to change the alignment from Word (not
programatically), the value that appears in the absolute positon field
in the picture position tab of the advanced layout dialogue box is
incorrect and reflects what I am getting programatically.
Any other suggestions?
Thanks kindly,
Ferass
On Mar 14, 6:02 pm, "Jonathan West" <jw...@mvps.org> wrote:
> So proceed as follows.
>
[quoted text clipped - 97 lines]
>
> - Show quoted text -
felrayes@net-centric.com - 15 Mar 2008 14:50 GMT
No, the anchor appears within the left margin.
I also have the "Move object with Text", "Allow overlap" and "Layout
in table cell" checked while the "Lock Anchor" is unchecked. The Text
Wrapping is "Top and Bottom".
Does the fact that the text wrapping is top and bottom and the height
of the image is larger than the distance from the anchor to the bottom
of the page affecting anything?
Thanks again Jonathan.
Ferass
> Is the anchor within a table cell?
>
[quoted text clipped - 126 lines]
>
> - Show quoted text -