Page.PasteToLocation Method (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Pastes the shape to the specified location on the page.

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

The Flags parameter value can also be visCopyPasteDontAddToContainers.

Show: