Getting Shape Location Coordinates

J

jpabich

I have a VS.NET C# application where I am using the Visio SDK. I am
putting boxes on the visio sheet, but I want to be able to get the
exact coordinates of each shape so I can reproduce the layout on
another sheet. How can I get these coordinates?

Thanks.
 
P

Paul Herber

I have a VS.NET C# application where I am using the Visio SDK. I am
putting boxes on the visio sheet, but I want to be able to get the
exact coordinates of each shape so I can reproduce the layout on
another sheet. How can I get these coordinates?

read the shape's PinX, PinY, Width and Height properties.
 
Top