Master.PasteToLocation Method (Visio)

Pastes a shape to the specified location.

Version Information

Version Added: Visio 2010

Syntax

expression .PasteToLocation(xPos, yPos, Flags)

expression A variable that represents a Master 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