TiObjectCanvas.GetObjectPositionX

TiObjectCanvas

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

function GetObjectPositionX(Handle : Integer) : Double;

Description

Call GetObjectPositionX to get 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

Value := iComponent.GetObjectPositionX(5);

C++ Builder

Value = iComponent->GetObjectPositionX(5);

Contents | Index | Previous | Next