2.5.3.124 PolyLine

The PolyLine function returns a polyline.

ABNF:

 Polyline = "POLYLINE(" val "," val *("," val "," val) ")"

Required Arguments:

Name: xType

Type: vUnsignedInt

An argument that specifies how to interpret the x-coordinates. If xType is zero, the input xN is interpreted as relative coordinates. Otherwise, the input xN is interpreted in the coordinate system of the shape.

Name: yType

Type: vUnsignedInt

An argument that specifies how to interpret the y-coordinates. If yType is zero, the input yN is interpreted as relative coordinates. Otherwise, the input yN is interpreted in the coordinate system of the shape.

Optional Arguments:

Additional x and y-coordinates MUST be specified using additional pairs of xN and yN.

Name: xN

Type: vDouble

An argument that specifies an x-coordinate.

Name: yN

Type: vDouble

An argument that specifies a y-coordinate.

Return Value:

Type: PtgPolyline, PtgErr

This function returns a PtgPolyline parse token containing xType, yType, xN, and yN. If the wrong number of arguments are used, the function returns a PtgErr parse token with a value equal to #VALUE!.