TiObjectCanvas.SetObjectType

TiObjectCanvas

Used to set an object's type property value.

type TiDrawObjectType(tidoEllipse, tidoRectangle, tidoLine, tidoText);

procedure SetObjectType(Handle : Integer, AType : TiDrawObjectType;

Description

Call SetObjectType to set an object's type property value.

These are the possible values:

Value
Meaning
tidoEllipse
Ellipse.
tidoRectangle
Rectangle.
tidoLine
Line.
tidoText
Label.

Example

Delphi

iComponent.SetObjectType(5, tidoEllipse);

C++ Builder

iComponent->SetObjectType(5, tidoEllipse);

Contents | Index | Previous | Next