IGxRect.Left

Syntax

Left: Integer;

Description

The Left property determines the left margin of the integer rectangle.

Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

Obj: ITabObject;

Rect: IGxRect;

Begin

Rect:=New GxRect.Create(0,0,15,12);

Obj:=UiTabSheet1.TabSheet.Objects.Add("PrxPicture", Rect.ToRectF);

(Obj As IPrxPicture).Image:=GxImage.FromFile("c:\1.bmp");

Rect.Top:=18;

Rect.Left:=27;

Obj.Rectangle:=Rect.ToRectF;

End Sub Button1OnClick;

After executing the example clicking the button creates an image in the regular report. The image source is the 1.bmp file. The image is created in the left top corner and is stretched by 19 to the bottom and by 27 to the right.

See also:

IGxRect