How to get location shapes? (left, right, top, bottom)

Started by civiccoupe, March 22, 2012, 02:41:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

civiccoupe

Hi all,
I have some question to ask.
How can i get location shapes, (left, right, top, bottom)

Did "PinX" and "PinY" are represent to left and top ?
If that true i want to get top and bottom
what code to get that?

Thank you

Paul Herber

You also need to take into consideration the shape's LocPinX and LocPinY.
http://msdn.microsoft.com/en-us/library/aa200965%28v=office.10%29.aspx

Be aware though that the shape geometry can go beyond these coordinates, i.e. a a geometry formula could easily contain, say, Width*2.
Also, within a grouped shape the various sub-shapes could go beyond these coordinates.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/