This item was deprecated in version 2019r2. Please use Graphics.PenSize as a replacement.
The width in points used when drawing lines, ovals and rectangles.
This example sets the PenWidth to 5 and the PenHeight to 1 point:
g.PenHeight = 1.0 g.PenWidth = 5 g.DrawRect(150, 10, 100, 100)
All project types on all supported operating systems.