IGxRectF.Left

Syntax

Left: Double;

Description

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

Example

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

Var

Obj: ITabObject;

RectF: IGxRectF;

Begin

RectF:=New GxRectF.Create(0.32,0.56,15.46,12.7);

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

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

RectF.Top:=18.5;

RectF.Left:=27.5;

Obj.Rectangle:=RectF;

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 at the top left corner and is shifted on 18.5 to the bottom and on 27.5 to the right.

See also:

IGxRectF