TiObjectCanvas.GetObjectFontName

TiObjectCanvas

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

function GetObjectFontName(Handle : Integer) : String;

Description

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

C++ Builder

Value = iComponent->GetObjectFontName(5);

Contents | Index | Previous | Next