TiObjectCanvas.GetObjectSizeWidth

TiObjectCanvas

Used to get an object's width property value.

function GetObjectSizeWidth(Handle : Integer) : Double;

Description

Call GetObjectSizeWidth to get an object's width property value.

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

Example

Delphi

Value := iComponent.GetObjectSizeWidth(5);

C++ Builder

Value = iComponent->GetObjectSizeWidth(5);

Contents | Index | Previous | Next