IGxPointF.ToSize

Syntax

ToSize: IGxSizeF;

Description

The ToSize method transforms the real point into the real size.

Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

PointF: IGxPointF;

SizeF: IGxSizeF;

Begin

PointF:=New GxPointF.Create(10.32,15.57);

SizeF:=PointF.ToSize;

End Sub Button1OnClick;

After executing the example clicking the button transforms the real point into the real size with the length of 10.32 and the width of 15.57.

See also:

IGxPointF