Share via


Line.LineSlant Property (Access)

You use the LineSlant property to specify whether a line control slants from upper left to lower right or from upper right to lower left. Read/write Boolean.

Syntax

expression .LineSlant

expression A variable that represents a Line object.

Remarks

The LineSlant property uses the following settings.

Setting

Visual Basic

Description

\

False

(Default) Upper left to lower right

/

True

Upper right to lower left

Use the LineSlant property to change a line's direction. To position and size the line on your form or report, use the mouse.

Example

The following example slants a line on a form from upper right to lower left.

Forms("Purchase Orders").Controls("Section Separator").LineSlant = True 

See Also

Concepts

Line Object Members

Line Object