TransformXYFrom with different pages

P

Peo

Hi, I am trying to get the coordinates from a foreground page to be
translated into the coordinate system of the background page in Visio, but I
can't really get it to work.
Initially I thought it was a walk in the park, but as it turns out,
TransformXYFrom method only works from within the same page :(

Anybody having a suggestion for a solution to this problem? Is there
anything from Visio that can be used to support this?

Regards

Peo
 
D

David Parker

It isn't normally necessary because both pages have their X/Y 0/0 in the
bottom left.
How did you get them to be different?
You can get a reference to the background page with
Visio.ActivePage.BackPage, and from there you can get access to its
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