This property sets the various color information for the brush, pen, and text

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

Property Value

TextColor2:

Sets the background color for text used by the DrawText and the TextOut methods

For the DrawString method, the TextColor1 property has the following affect:

   Hatch brush: the color used between the hatch lines

   Gradiation: the end color for lined gradiation

   Note: Disabled for the solid brush and the texture brush

Explanation

The TextColor2 property sets the various color information for the brush, pen, and text

To set this property use 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 ImageKit9 ActiveX is a product created by Newtone Corporation