Modifica

Condividi tramite


ShapeRange.Vertices Property

Definition

Returns the coordinates of the specified freeform drawing's vertices (and control points for Bézier curves) as a series of coordinate pairs. Read-only Object.

public:
 property System::Object ^ Vertices { System::Object ^ get(); };
public object Vertices { get; }
Public ReadOnly Property Vertices As Object

Property Value

Remarks

You can use the array returned by this property as an argument to the AddCurve(Object) method or AddPolyline(Object) method.

The following table shows how the Vertices property associates the values in the array vertArray() with the coordinates of a triangle's vertices.

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

Applies to