IGxSize.ToSizeF

Syntax

ToSizeF: IGxSizeF;

Description

The ToSizeF method transforms the size into the size determined with real value.

Comments

The size is determined with integer values.

Example

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

Var

Size: IGxSize;

SizeF: IGxSizeF;

Begin

Size:=New GxSize.Create(10,15);

SizeF:=Size.ToSizeF;

End Sub Button1OnClick;

After executing the example clicking the button transforms the size into the real size with the width of 10 and the height of 15.

See also:

IGxSize