IGxSize.Height

Syntax

Height: Integer;

Description

The Height property determines the height of the size.

Comments

The size is determined with integer values.

Example

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

Var

Rect: IWxRectangle;

Size: IGxSize;

h: Integer;

Begin

Rect:=UiWorkspace1.WxWorkspace.CreateRectangle;

Size:=Rect.Size.ToSize;

h:=Size.Height;

End Sub Button1OnClick;

After executing the example clicking the button creates a rectangle in the workspace, and the "h" variable contains its height.

See also:

IGxSize