DrawPolyline

DrawPolyline(double, double, double, double, double[])

The process of drawing Polyline.

public long DrawPolyline(double pinX, double pinY, double width, double height, double[] xyArray)
Parameter Type Description
pinX Double Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the page.
pinY Double Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the page.
width Double Specifies the width of the shape
height Double Specifies the height of the shape
xyArray Double[] An array of alternating x and y values that defines points in the new shape

Return Value

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

See Also


DrawPolyline(double, double, double, double, PointF[])

The process of drawing polyline.

public long DrawPolyline(double pinX, double pinY, double width, double height, PointF[] points)
Parameter Type Description
pinX Double Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the page.
pinY Double Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the page.
width Double Specifies the width of the shape
height Double Specifies the height of the shape
points PointF[] Specifies the points of the polyline

Return Value

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

See Also