Shape.XYToPage method (Visio)

Transforms a point expressed in the local coordinate system of a Shape object to an equivalent point expressed in the local coordinate system of its Page or Master object.

Syntax

expression. XYToPage( _x_ , _y_ , _xprime_ , _yprime_ )

expression A variable that represents a Shape object.

Parameters

Name Required/Optional Data type Description
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 x in the Page or Master object's coordinate system.
yprime Required Double y-coordinate corresponding to y in the Page or Master object's coordinate system.

Return value

Nothing

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.