Share via


Report.DrawStyle Property

Access Developer 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.

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
Bb237485.vs_note(en-us,office.12).gif  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).

See Also