TiObjectCanvas.SetObjectPosition
TiObjectCanvas
Used to set an object's position attributes.
procedure SetObjectPosition(Handle : Integer, X, Y : Double);
Description
Call SetObjectPosition to set an object's position attributes.
For all objects except the Line object, this value represents the center X and
center Y for the object. For line objects, this value represents the X1 and Y1
values (Line Points: X1, Y1 to X2, Y2).
Example
Delphi
iComponent.SetObjectPosition(5, 0, 0);
C++ Builder
iComponent->SetObjectPosition(5, 0, 0);
Contents | Index | Previous | Next