TiObjectCanvas.SetObjectFontSize
TiObjectCanvas
Used to set an object's font size property value.
procedure SetObjectFontSize(Handle : Integer, Size : Integer);
Description
Call SetObjectFontSize to set 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
iComponent.SetObjectFontSize(5, 12);
C++ Builder
iComponent->SetObjectFontSize(5, 12);
Contents | Index | Previous | Next