IGxPointF.ToSize

Syntax

ToSize: IGxSizeF;

Description

The ToSize method transforms the real point into the real size.

Example

Sub UserProc;
Var
    Point: IGxPointF;
    Size: IGxSizeF;
Begin
    Point := New GxPointF.Create(10.515.5);
    Size := Point.ToSize;
    Debug.WriteLine("Width: " + Size.Width.ToString + ". Height: " + Size.Height.ToString);
End Sub UserProc;

After executing the example a real point is created. Then a real size is created based on the point. The obtained width and height of the size is displayed in the development environment console.

See also:

IGxPointF