ToSizeF: IGxSizeF;
The ToSizeF method transforms the size into the size determined with real value.
The size is determined with integer values.
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: