TiObjectCanvas.GetObjectPositionY

TiObjectCanvas

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

function GetObjectPositionY(Handle : Integer) : Double;

Description

Call GetObjectPositionY to get an object's position Y property value.

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

Example

Delphi

Value := iComponent.GetObjectPositionY(5);

C++ Builder

Value = iComponent->GetObjectPositionY(5);

Contents | Index | Previous | Next