Specifies the width in pixels of the line used as the border of a Shape object.

Property of

Shape

Description

Use penWidth to specify the thickness of the line used to border a shape object. If you set penWidth to a value greater than 1, then penStyle is always treated as 0 (Solid).