Inheritance diagram for Pen:


| Properties | |
| LONG RW | Width  [] | 
| Specifies the width of the pen. | |
| LONG RW | Style  [] | 
| Specifies the style of the pen. | |
See also Pen.
Example:
o = new ActiveXObject("Scripting.WindowSystemObject") o.EnableVisualStyles = true f = o.CreateForm(0,0,0,0) f.Text = "WSO" f.ClientWidth = 200 f.ClientHeight = 100 f.CenterControl() with (f.Ellipse(10,10,180,80).Pen) { Color = 0x000000FF Style = o.Translate("PS_DASH") } f.Show() o.Run()
 
| LONG RW Style | 
Specifies the style of the pen.
This parameter can be a one of the following values:
PS_SOLID, PS_DASH, PS_DOT, PS_DASHDOT, PS_DASHDOTDOT, PS_NULL, PS_INSIDEFRAME.
| LONG RW Width | 
Specifies the width of the pen.
Default value 1.