IGxRect.Bottom

Syntax

Bottom: Integer;

Description

The Bottom property determines the bottom margin of the integer rectangle.

Example

Executing the example requires a form with the Button1 button, the UiTabSheet component named UiTabSheet1 and any visualizer, for which UiTabSheet1 is set as a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Obj: ITabObject;
    Rect: IGxRect;
Begin
    Rect := New GxRect.Create(001014);
    Obj := UiTabSheet1.TabSheet.Objects.Add("PrxPicture", Rect.ToRectF);
    (Obj As IPrxPicture).Image := GxImage.FromFile("c:\1.bmp");
    Rect.Bottom := 23;
    Rect.Right := 30;
    Obj.Rectangle := Rect.ToRectF;
End Sub Button1OnClick;

Clicking the button creates an image in the table. The image source is the 1.bmp file. The image is created at the top left angle, the bottom margin is shifted by 23 to the bottom, the right margin is shifted by 30 to the right.

See also:

IGxRect