DrawWidth

Returns or sets the line width for output from graphics methods.

Syntax

object.DrawWidth [= size]

The parts of the DrawWidth property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
size A numeric expression from 1 through 32,767. This value represents the width of the line in pixels. The default is 1; that is, 1 pixel wide.

Remarks

Increase the value of this property to increase the width of the line. If the DrawWidth property setting is greater than 1, DrawStyle property setting 1 produces a solid line (the DrawStyle property value is not changed). Setting DrawWidth to 1 allows DrawStyle to produce the results shown in the DrawStyle property table.