CanvasShapes.AddPolyline(Object) Method

Definition

Adds an open or closed polygon to a drawing canvas.

public:
 Microsoft::Office::Interop::Word::Shape ^ AddPolyline(System::Object ^ % SafeArrayOfPoints);
public Microsoft.Office.Interop.Word.Shape AddPolyline (ref object SafeArrayOfPoints);
abstract member AddPolyline : obj -> Microsoft.Office.Interop.Word.Shape
Public Function AddPolyline (ByRef SafeArrayOfPoints As Object) As Shape

Parameters

SafeArrayOfPoints
Object

An array of coordinate pairs that specifies the polyline drawing's vertices.

Returns

Remarks

A coordinate pair is a pair of values representing the x- and y-coordinates of a point that are stored in a two-dimensional array that can contain coordinates for many points.

Applies to