DrawFontColor property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax OLE_COLOR DrawFontColor

Overview:  Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

(Persistent property, available at design time) Specifies the color of any text that you draw using the DrawText method.

You can specify a COLORREF value (the return value of the RGB function), or you can specify a palette index as explained in Using Palette Indexes As Color Values.

See Also

Topics:  Working with the Control: Client Area Usage
Raster Images: Drawing on a Bitmap