TiObjectCanvas.SetObjectPositionX

TiObjectCanvas

Used to set an object's position X property value.

procedure SetObjectPositionX(Handle : Integer, X : Double);

Description

Call SetObjectPositionX to set an object's position X property value.

For all objects except the Line object, this value represents the center X for the object. For line objects, this value represents the X1 value (Line Points: X1, Y1 to X2, Y2).

Example

Delphi

iComponent.SetObjectPositionX(5, 0);

C++ Builder

iComponent->SetObjectPositionX(5, 0);

Contents | Index | Previous | Next