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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top