ShapeRange.Vertices Property
Word Developer Reference |
Returns the coordinates of the specified freeform drawing's vertices (and control points for Bézier curves) as a series of coordinate pairs. You can use the array returned by this property as an argument for the AddCurve or AddPolyLine method. Read-only Variant.
Syntax
expression.Vertices
expression Required. A variable that represents a ShapeRange object.
Remarks
The following table shows how the Vertices property associates values in the array vertArray() with the coordinates of a triangle's vertices.
vertArray element | Contains |
---|---|
Visual Basic for Applications
|
The horizontal distance from the first vertex to the left side of the document. |
Visual Basic for Applications | |
|
|
Visual Basic for Applications
|
The vertical distance from the first vertex to the top of the document. |
Visual Basic for Applications | |
|
|
Visual Basic for Applications
|
The horizontal distance from the second vertex to the left side of the document. |
Visual Basic for Applications | |
|
|
Visual Basic for Applications
|
The vertical distance from the second vertex to the top of the document. |
Visual Basic for Applications | |
|
|
Visual Basic for Applications
|
The horizontal distance from the third vertex to the left side of the document. |
Visual Basic for Applications | |
|
|
Visual Basic for Applications
|
The vertical distance from the third vertex to the top of the document. |
Visual Basic for Applications | |
|
See Also