POLYLINE Function [Visio 2003 SDK Documentation]

Returns a polyline. This function is used in the A cell of PolyLineTo geometry rows.

POLYLINE(xType, yType, x1, y1...)

xType Specifies how to interpret the x input data. If xType is 0, the input x-data is interpreted as a percentage of Width. If xType is 1, the input x-data is interpreted as a local coordinate.

yType Specifies how to interpret the y-input data. If yType is 0, the input y-data is interpreted as a percentage of Height. If yType is 1, the input y-data is interpreted as a local coordinate.

x1 An x-coordinate.

y1 A y-coordinate.

Remarks

For every x argument, there must be a y argument, otherwise an error is returned.

Example

POLYLINE (0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0)

Returns a rectangle using Width x Height.