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 

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.