Table of contents
TOC
Collapse the table of content
Expand the table of content

Shape.XYFromPage Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression . XYFromPage( x , y , xprime , yprime )

expression A variable that represents a Shape object.

Parameters

NameRequired/OptionalData TypeDescription
xRequiredDoublex-coordinate corresponding to x in the Page or Master object's coordinate system.
yRequiredDoubley-coordinate corresponding to y in the Page or Master object's coordinate system.
xprimeRequiredDoublex-coordinate in coordinate system of object.
yprimeRequiredDoubley-coordinate in coordinate system of object.

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.

© 2017 Microsoft