Share via


Page.PasteToLocation Method (Visio)

Pastes the shape to the specified location on the page.

Version Information

Version Added: Visio 2010

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.