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 .