SetBegin Method
TOC
Collapse the table of content
Expand the table of content

Shape.SetBegin 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.

Moves the begin point of a one-dimensional (1-D) shape to the coordinates represented by xPos and yPos.

expression .SetBegin(xPos, yPos)

expression A variable that represents a Shape object.

Parameters

Name

Required/Optional

Data Type

Description

xPos

Required

Double

The new x-coordinate of the begin point.

yPos

Required

Double

The new y-coordinate of the begin point.

Return Value

Nothing

The SetBegin method only applies to 1-D shapes. If the indicated shape is a 2-D shape, an error is generated.

The coordinates represented by the xPos and yPos arguments are parent coordinates, measured from the origin of the shape's parent (the page or group that contains the shape).

Show:
© 2016 Microsoft