IGxPoint.ToSize

Syntax

ToSize: IGxSize;

Description

The ToSize method transforms the point into the size.

Example

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:

IGxPoint