LineSlant Property [Access 2003 VBA Language Reference]
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.
expression.LineSlant
expression Required. An expression that returns one of the objects in the Applies To list.
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 |
Note You can set this property by using the control's property sheet , a macro , or Visual Basic .
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
Applies to | Line Object
See Also | Line Method