TiObjectCanvas.SetObjectSize

TiObjectCanvas

Used to set an object's size attributes.

procedure SetObjectSize(Handle : Integer, Width, Height : Double);

Description

Call SetObjectSize to set an object's size attributes.

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

Example

Delphi

iComponent.SetObjectSize(5, 10, 10);

C++ Builder

iComponent->SetObjectSize(5, 10, 10);

Contents | Index | Previous | Next