Line Method

Draws a line on a Form object. There are two versions of the syntax.

Object.Line(nXCoord2, nYCoord2)
Object.Line(nXCoord1, nYCoord1, nXCoord2, nYCoord2)

Parameters

nXCoord1, nYCoord1

Specifies the coordinates of the starting point of the line. The unit of measurement is specified by the ScaleMode property of the form.

nXCoord2, nYCoord2

Specifies the coordinates of the endpoint of the line.

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic