G
gurry
Hi,
I'm trying to place a small window next to each shape in a drawing. It
is meant to display certain information about that shape. I intend to
achieve this by making the said window a child of the drawing window
in which the page lies (using the SetParent function call). Then I
would calculate its location w.r.t. the drawing window such that it
ends up being placed next to the shape.
My problem is, Visio API doesn't give me a shape's location with
respect to the drawing window coordinates; it only provides that with
respect to the page coordinates. But that's not a problem. I could
compute the shape position w.r.t. the drawing window coordinates if I
could find where the page itself is located in the drawing window.
However, the Visio API doesn't seem to have any function for such a
purpose.
I have searched the SDK help files but being a relative newbie to
Visio development, couldn't find much relevant information. So I'll be
very grateful if you guys here could tell point me to a suitable Visio
API function.
Thanks in advance.
~Gurinder
I'm trying to place a small window next to each shape in a drawing. It
is meant to display certain information about that shape. I intend to
achieve this by making the said window a child of the drawing window
in which the page lies (using the SetParent function call). Then I
would calculate its location w.r.t. the drawing window such that it
ends up being placed next to the shape.
My problem is, Visio API doesn't give me a shape's location with
respect to the drawing window coordinates; it only provides that with
respect to the page coordinates. But that's not a problem. I could
compute the shape position w.r.t. the drawing window coordinates if I
could find where the page itself is located in the drawing window.
However, the Visio API doesn't seem to have any function for such a
purpose.
I have searched the SDK help files but being a relative newbie to
Visio development, couldn't find much relevant information. So I'll be
very grateful if you guys here could tell point me to a suitable Visio
API function.
Thanks in advance.
~Gurinder