Printer Object
 
Syntax
 
Printer.DrawLine X1, Y1[, X2][, Y2]
 
Description
Draws a line segment.
 
The DrawLine method draws a line between point (X1, Y1) and (X2, Y2). If (X2, Y2) are omitted, the line is drawn from the last point used in a previous call to DrawLine and (X1, Y1).
 
Lines are drawn with the current pen, defined by the PenColor, PenStyle, and PenWidth properties.
 
The X1, Y1, X2, and Y2 parameters may be specified with units (inches, points, twips, cm, mm, or pixels). The default unit is twips.
 
See Also
Example