Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get shape position form word document?

Status
Not open for further replies.

Alobidat

Programmer
Mar 7, 2008
1
0
0
CA
Hi,

I am trying to get/calculate a shape position in a word document page that a floating shape not inline.

trying the

Code:
   get_information(wdHorizontalPositionRelativeToPage)
   get_information(wdVerticalPositionRelativeToPage)

on the shape, anchor or using the selection object were not of a great help because they return incorrect values.

Any ideas?

Alobidat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top