This property sets the color of the pen.

[Visual Basic]   imagekitcontrolname.PrintDraw.PenColor [ = OLE_COLOR ]
[Visual C++]     imagekitcontrolname.GetPrintDraw().SetPenColor(unsigned long Val)
[VB.NET]   imagekitcontrolname.PrintDraw.PenColor [ = UInteger ]
[C#.NET]   imagekitcontrolname.PrintDraw.PenColor [ = uint ]

Property Value

The color of the pen.

Explanation

The PenColor property sets the color of the pen. To set this property use the RGB(Red, Green, Blue) or equivalent value.

If the device cannot produce the color specified, the nearest color will be used.

Setting this value

This value can be set at runtime.

Retrieving this value

This value cannot be retrieved.

Differences between the ImageKit7/8

This property's type has changed.

The ImageKit10 ActiveX is a product created by Newtone Corporation