XPRINT STYLE statement

Purpose

Set the line style to be used by various XPRINT statements.

Syntax

XPRINT STYLE linestyle&

Remarks

XPRINT STYLE determines the line style which will be used when drawing various graphical objects, while the width value is set to 1.  When the width value is greater than one, Windows always interprets the style as 0 (solid).

Available line styles are:

0

Solid (default)

1

Dash

2

Dot

3

DashDot

4

DashDotDot

See also

XPRINT ARC, XPRINT ATTACH, XPRINT BOX, XPRINT ELLIPSE, XPRINT LINE, XPRINT PIE, XPRINT WIDTH

Example

' Draw a square box with blue, dotted lines

XPRINT WIDTH 1

XPRINT STYLE 2

XPRINT BOX (10, 10) - (110, 110), 0, %BLUE