Box Method

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

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

Parameters

nXCoord1, nYCoord1

Specifies the coordinates of the starting point for the rectangle. The ScaleMode method of the form determines the unit of measurement used. If you omit these arguments, the value of CurrentX and CurrentY are used.

nXCoord2, nYCoord2

Specifies the endpoint of the rectangle.

Expand imageRemarks

Expand imageSee Also


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