This documentation is archived and is not being maintained.

Line Object [Access 2003 VBA Language Reference]

Office 2003

The line control displays a horizontal, vertical, or diagonal line on a form or report.

Note  This control should not be confused with the Dynamic HTML line control used on a data access page. For information about a line control on a data access page, see Line Control (Data Access Pages).

Using the Line object

You can use the BorderWidth property to change the line width. You can use the BorderColor property to change the color of the border or make it transparent. You can change the line style (dots, dashes, and so on) of the border by using the BorderStyle property.

Parent Objects

Child Objects | Properties Object