ToPoint: IGxPoint;
The ToPoint method transforms the size into the point.
The size is determined with integer values.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Size: IGxSize;
Point: IGxPoint;
Begin
Size:=New GxSize.Create(30,35);
Point:=Size.ToPoint;
End Sub Button1OnClick;
After executing the example clicking the button transforms the size into the point with the 30.35 coordinates.
See also: