title | ms.service | ms.assetid | ms.date | ms.localizationpriority |
---|---|---|---|---|
Shape.Vertices property (Project) |
project-server |
3db780f4-5407-f83b-f379-e9cdcc6c4946 |
06/08/2017 |
medium |
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.
expression.Vertices
expression A variable that represents a Shape object.
Use the array returned by the Vertices property as an argument for the AddCurve method or the AddPolyLine 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 array | Value 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. |
VARIANT
[!includeSupport and feedback]