ToSize: IGxSize;
The ToSize method transforms the point into the size.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Point: IGxPoint;
Size: IGxSize;
Begin
Point:=New GxPoint.Create(10,15);
Size:=Point.ToSize;
End Sub Button1OnClick;
After executing the example clicking the button transforms the point into the size with the length of 10 and the width of 15.
See also: