This documentation is archived and is not being maintained.

CanvasShapes.AddPolyline Method

Adds an open or closed polygon to a drawing canvas.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Shape AddPolyline(
	ref Object SafeArrayOfPoints
)

Parameters

SafeArrayOfPoints
Type: System.Object%
An array of coordinate pairs that specifies the polyline drawing's vertices.

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.

Show: