DrawStyle Property [Access 2003 VBA Language Reference]

You can use the DrawStyle property to specify the line style when using the Line and Circle methods to print lines on reports. Read/write Integer.

expression.DrawStyle

expression Required. An expression that returns one of the objects in the Applies To list.

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 by using a macro or a Visual Basic 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).

Applies to | Report Object

See Also | BackColor Property | Circle Method | DrawMode Property | DrawWidth Property | FillColor Property | FillStyle Property | ForeColor Property | Line Method | PSet Method