[Visual
Basic] imagekitcontrolname.Edit.PenSize
[ = PenSizeConstants ]
[Visual
C++] [long =
]imagekitcontrolname.GetEdit().GetPenSize()
imagekitcontrolname.GetEdit().SetPenSize(long Val)
imagekitcontrolname.GetEdit().SetPenSize(long Val)
Property Value
Value | Explanation |
---|---|
0 | Pen1 (PenSize1) |
1 | Pen2 (PenSize2) |
2 | Pen3 (PenSize3) |
3 | Pen4 (PenSize4) |
4 | Pen5 (PenSize5) |
It's also possible to use the following constants in Visual Basic (ikPenSize1 = 0, ikPenSize2 = 1, ikPenSize3 = 2, ikPenSize4 = 3, ikPenSize5 = 4).
Explanation
The PenSize property selects the pen used by the image-editing toolbar.
This property is used to change the pen by code, i.e. when the PenSize property is 0, the size set in the PenSize1 property is used.
Note: If a Pen object on the image-editing toolbar is selected, that size is used.
Setting this value
This value can be set at run-time.Retrieving this value
This value can be retrieved at run-time.