The Vertices property returns vertices in an area. Returns an array of doubles. This is a read only property.
Syntax
object.Vertices( UnitType )
Parameter |
Type |
Description |
UnitType |
optional; unit type, default is mvCoordDisplayUnitPageUnits |
Example
This example demonstrates how to return an array of area 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: Area Object