Report.DrawStyle property (Access)
Use the DrawStyle property to specify the line style when using the Line and Circle methods to print lines on reports. Read/write Integer.
Syntax
expression.DrawStyle
expression A variable that represents a Report object.
Remarks
The DrawStyle property uses the following settings.
Setting | Description |
---|---|
0 | (Default) Solid line, transparent interior |
1 | Dash, transparent interior |
2 | Dot, transparent interior |
3 | Dash-dot, transparent interior |
4 | Dash-dot-dot, transparent interior |
5 | Invisible line, transparent interior |
6 | Invisible line, solid interior |
Note
You can set this property in an event procedure specified by a section's OnPrint property setting.
The DrawStyle property produces the results described in the preceding table if the DrawWidth property is set to 1. If the DrawWidth property setting is greater than 3, the DrawStyle property settings 1 through 4 produce a solid line (the DrawStyle property value isn't changed).
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.