ToPoint: IGxPointF;
The ToPoint method transforms the real size in the real point.
Sub UserProc;
Var
Size: IGxSizeF;
Point: IGxPointF;
Begin
Size := New GxSizeF.Create(10, 15);
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: