Vertices Property [AutoPolygon]

The Vertices property returns or sets the polygon vertices. Returns an array of Doubles.

Syntax

object.Vertices

object.Vertices =Vertices

Example

This example demonstrates how to return the array of the polygon vertices. Since the Vertices array is an outgoing parameter, the value of the elements inside the array can be returned.

Dim Vertices() As Double

Vertices() = Polygon.Vertices

 

Dim Element As Integer

For Element = 0 to 5 Step 1

    Debug.Print Vertices(Element)

Next

 

Used by: AutoPolygon object