TransformXYTo Method [Visio 2003 SDK Documentation]
Transforms a point expressed in the local coordinate system of one Shape object to an equivalent point expressed in the local coordinate system of another Shape object.
object**.TransformXYTo**OtherShape, x, y, xprime, yprime
object Required. An expression that returns a Shape object whose local coordinate system you are transforming the point from.
OtherShape Required. An expression that returns a Shape object whose local coordinate system you are transforming the point to.
x Required Double; x-coordinate in coordinate system of object.
y Required Double; y-coordinate in coordinate system of object.
xprime Required Double; x-coordinate corresponding to xin the OtherShapecoordinate system.
yprime Required Double; y-coordinate corresponding to yin the OtherShapecoordinate system.
Version added
2000
Remarks
The points x, y, xprime and yprime are all treated as internal drawing units.
An exception is raised if object is not a Shape object of a Page or Master object, or if OtherShape is not in the same Page or Master object as object.
Applies to | Shape object
See Also | TransformXYFrom method | XYFromPage method