Height: Integer;
The Height property determines the height of the size.
The size is determined with integer values.
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: