Line

Line
You can draw a line in a graphic oject with the **Line** method. It will appear in the current Size and in the current Color.

The synatx is:


 * 1) handle LINE(originX, originY, destX, destY) - Draw a line from originX, originY to destX, destY

The following code demonstrates the **Line** method.

code format="vbnet" 'create a graphic object graphic #g, 800, 600

'draw a line from 20,40 to 600,100
 * 1) g line(20,40,600,100)

'display graphic on web page render #g code