IGxRectF.Height

Syntax

Height: Double;

Description

The Height property determines the height of the real rectangle.

Example

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

Var

Obj: ITabObject;

RectF: IGxRectF;

Begin

RectF:=New GxRectF.Create(0.4,0.53,10.56,10.77);

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

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

RectF.Width:=52.5;

RectF.Height:=52.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, its width and height are stretched to 52.5.

See also:

IGxRectF