TiObjectCanvas.GetObjectType
TiObjectCanvas
Used to get an object's type property value.
type TiDrawObjectType = (tidoEllipse, tidoRectangle, tidoLine, tidoText);
function GetObjectType(Handle : Integer) : TiDrawObjectType;
Description
Call GetObjectType to get an object's type property value.
These are the possible return values:
Value
| Meaning
|
tidoEllipse
| Ellipse.
|
tidoRectangle
| Rectangle.
|
tidoLine
| Line.
|
tidoText
| Label.
|
Example
Delphi
Value := iComponent.GetObjectType(5);
C++ Builder
Value = iComponent->GetObjectType(5);
Contents | Index | Previous | Next