drawLine

Syntax: drawLine document, startPoint, endPoint

Draws a line on the current page from startPoint to endPoint. The line is stroked using the current line weight and color.

Example:

drawLine doc, Point(0,100), Point(getPageWidth(doc),100), TRUE