Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 1.67 KB

Project.shaperange.vertices.md

File metadata and controls

47 lines (28 loc) · 1.67 KB
title ms.service ms.assetid ms.date ms.localizationpriority
ShapeRange.Vertices property (Project)
project-server
5df31583-7e8a-2bc1-ed6b-719960fb7de1
06/08/2017
medium

ShapeRange.Vertices property (Project)

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

Syntax

expression.Vertices

expression A variable that represents a 'ShapeRange' object.

Remarks

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.

Property value

VARIANT

See also

ShapeRange Object

[!includeSupport and feedback]