Page.PasteToLocation method (Visio)

Pastes the shape to the specified location on the page.

Syntax

expression. PasteToLocation( _xPos_ , _yPos_ , _Flags_ )

expression A variable that represents a Page object.

Parameters

Name Required/Optional Data type Description
xPos Required Double The x-coordinate at which to place the center of the object's width or PinX, in inches.
yPos Required Double The y-coordinate at which to place the center of the object's height or PinY, in inches.
Flags Required Long The default is zero.

Return value

Nothing

Remarks

The Flags parameter value can also be visCopyPasteDontAddToContainers.

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.