position of a shape

T

timtos

Hello.

How do one get the position of a shape on a visio page?

I´ve tried to determine the bounding box of the shape and after that convert the coordinates but had no luck. I would like to have
the screen coordinates of a shape when the page has 100%. I need these coordinates because I want to place the graphics on a web
page (and don´t want to use the microsoft html-exporter) and need some coordinates for the div tag.

Thanks a lot for any ideas!
Greetings,
timtos.
 
N

Ninaceleste

timtos said:
Hello.

How do one get the position of a shape on a visio page?

I´ve tried to determine the bounding box of the shape and after that
convert the coordinates but had no luck. I would like to have
the screen coordinates of a shape when the page has 100%. I need these
coordinates because I want to place the graphics on a web
page (and don´t want to use the microsoft html-exporter) and need some coordinates for the div tag.

Thanks a lot for any ideas!
Greetings,
timtos.
Assuming that you mean the location of the shape, just get the PinX and PinY
values from the shapesheet. You also have the ability to change the xy
coordinates of the pin to anywhere in the drawing universe if you have
access to it before your program does anything. I'm just guessing that that
is what you mean. Anybody can give more detail I suppose...
 

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