XPRINT WIDTH statement

Purpose

Set the graphic line width to be used by various XPRINT statements..

Syntax

XPRINT WIDTH ncPixels&

Remarks

XPRINT WIDTH determines the line width which will be used when drawing various graphical objects.  The default width is 1 pixel.  The width is always specified in pixels, regardless of any XPRINT SCALE option.  When the width is set to a value greater than 1, XPRINT STYLE parameters are always interpreted as 0 (solid).

See also

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

Example

FUNCTION PBMAIN

  XPRINT ATTACH "Lexmark C750"

  ' Draw a square box with thick, red lines

  XPRINT WIDTH 10

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

  XPRINT CLOSE

END FUNCTION