Table of contents
TOC
Collapse the table of content
Expand the table of content

Shape.Vertices Property (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets the coordinates of the vertices (and control points for a B?zier curve) as a series of coordinate pairs, for a shape that is a drawing. Read-only Variant.

Syntax

expression. Vertices

expression A variable that represents a Shape object.

Remarks

You can use the array returned by the Vertices property as an argument for theAddCurve method or theAddPolyLine method.

For an array of vertices named vertArray, the following table shows how the Vertices property associates values in the array with the coordinates of vertices in a triangle.

Element in the arrayValue of the element (in points)
vertArray(1, 1)The horizontal distance from the first vertex to the left side of the document.
vertArray(1, 2)The vertical distance from the first vertex to the top of the document.
vertArray(2, 1)The horizontal distance from the second vertex to the left side of the document.
vertArray(2, 2)The vertical distance from the second vertex to the top of the document.
vertArray(3, 1)The horizontal distance from the third vertex to the left side of the document.
vertArray(3, 2)The vertical distance from the third vertex to the top of the document.

Property value

VARIANT

See also

Other resources

Shape Object

© 2018 Microsoft