TiObjectCanvas.GetObjectFontColor

TiObjectCanvas

Used to get an object's font color property value.

function GetObjectFontColor(Handle : Integer) : TColor;

Description

Call GetObjectFontColor to get an object's font color property value.

All objects have a caption property. The Line object does not implement the drawing of the caption. The Rectangle and Ellipse objects will draw the caption centered inside the object.

Example

Delphi

Value := iComponent.GetObjectFontColor(5);

C++ Builder

Value = iComponent->GetObjectFontColor(5);

Contents | Index | Previous | Next