problems with units.]

L

Lee Bassom

Hi,
Me again :)

I'm having 'issues' trying to write code to create a new page, and drop
a master shape onto it at a specific location.

As far as I can see, everything in the project is set to use millimeters
as the units, but when I run the code it apparently thinks the
coordinates are in inches and converts them to mm :(

pageObj.Drop mastersObj.Item(1), 147.5, 110.0

When I run and look at shapesheet of the dropped item it shows
PinX : 3746.5
PinY : 2794.0

which, if you divide by 25.4 gives the right numbers

Any ideas how I can convince visio I want to use mm and not inches ?

Thanks in advance

Lee
 

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