IGxSize.ToPoint

Syntax

ToPoint: IGxPoint;

Description

The ToPoint method transforms the size into the point.

Comments

The size is determined with integer values.

Example

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:

IGxSize