TiObjectCanvas.OriginX

TiObjectCanvas

Specifies the X origin of the display.

property OriginX : Double;

Description

Use OriginX to get or set the X origin of the display. The value is not in any specific units. OriginX specifies the center x value of the display. To move all objects in the display to the right, decrease OriginX. To move all objects in the display to the left, increase OriginX.

Example

Delphi

iComponent.OriginX := 100;

C++ Builder

iComponent->OriginX = 100;

Contents | Index | Previous | Next