TiObjectCanvas.GetObjectFontSize

TiObjectCanvas

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

function GetObjectFontSize(Handle : Integer) : Integer;

Description

Call GetObjectFontSize to get an object's font size 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.GetObjectFontSize(5);

C++ Builder

Value = iComponent->GetObjectFontSize(5);

Contents | Index | Previous | Next