IGxSize.ToSizeF

Syntax

ToSizeF: IGxSizeF;

Description

The ToSizeF method transforms the integer size into the real size.

Example

Sub UserProc;
Var
    Size: IGxSize;
    SizeF: IGxSizeF;
Begin
    Size := New GxSize.Create(1015);
    SizeF := Size.ToSizeF;
    Debug.WriteLine("Width: " + SizeF.Width.ToString + ". Height: " + SizeF.Height.ToString);
End Sub UserProc;

After executing the example the integer size is created. Then the size is transformed into the real size. The obtained size width and height are displayed in the development environment console.

See also:

IGxSize