IGxSizeF.Height

Syntax

Height: Double;

Description

The Height property determines the height of the size.

Comments

The size is determined with real values.

Example

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

Var

SizeF: IGxSizeF;

Rect: IWxRectangle;

Begin

SizeF:=New GxSizeF.Create(10.55,10.66);

Rect:=UiWorkspace1.WxWorkspace.CreateRectangle;

SizeF.Width:=12.4664;

SizeF.Height:=18.659;

Rect.BeginUpdate;

Rect.Size:=New GxSizef.CreateFromSize(SizeF);

Rect.EndUpdate;

End Sub Button1OnClick;

After executing the example clicking the button creates a rectangle with 12.4664 width and 18.659 height in the workspace.

See also:

IGxSizeF