drawPolyline

drawPolyline(xyArray) (1 of 2)

The process of drawing Polyline.

ParameterTypeDescription
xyArrayNumber ArrayAn array of alternating x and y values that defines points in the new shape

Returns: The unique ID of the shape within shapes collection on the specified page.


drawPolyline(pinX, pinY, width, height, xyArray) (2 of 2)

The process of drawing Polyline.

ParameterTypeDescription
pinXfloatSpecifies the x-coordinate of the shape’s pin (center of rotation) in relation to the page.
pinYfloatSpecifies the y-coordinate of the shape’s pin (center of rotation) in relation to the page.
widthfloatSpecifies the width of the shape
heightfloatSpecifies the height of the shape
xyArrayNumber ArrayAn array of alternating x and y values that defines points in the new shape

Returns: The unique ID of the shape within shapes collection on the specified page.