DrawStyle Property

Microsoft Access Visual Basic

DrawStyle Property

       

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
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).