IGxPoint.ToPointF

Syntax

ToPointF: IGxPointF;

Description

The ToPointF method transforms the point into the real point.

Example

Sub UserProc;
Var
    Point: IGxPoint;
    PointF: IGxPointF;
Begin
    Point := New GxPoint.Create(1015);
    PointF := Point.ToPointF;
    Debug.WriteLine("X: " + PointF.X.ToString + ". Y: " + PointF.Y.ToString);
End Sub UserProc;

After executing the example an integer point is created. Then the point is converted to a real point. The obtained real point coordinates are displayed in the development environment console.

See also:

IGxPoint