IGxSizeF.ToPoint

Syntax

ToPoint: IGxPointF;

Description

The ToPoint method transforms the real size in the real point.

Example

Sub UserProc;
Var
    Size: IGxSizeF;
    Point: IGxPointF;
Begin
    Size := New GxSizeF.Create(1015);
    Point := Size.ToPoint;
    Debug.WriteLine("X: " + Point.X.ToString + ". Y: " + Point.Y.ToString);
End Sub UserProc;

After executing the example a real size is created. Then a real point is created based on the size. Coordinates of the obtained point are displayed in the development environment console.

See also:

IGxSizeF