GxPointF.CreateFromSize

Syntax

CreateFromSize(Size: IGxSizeF);

Parameters

Size. The size that is used to create a new point.

Description

The CreateFromSize constructor creates a new point based on the size passed by the Size parameter.

Comments

The width corresponds to the X coordinate, the height of the specified parameter corresponds to the Y coordinate.

Example

Function GetPointFromSizeF(SourceSize: IGxSizeF): IGxPointF;
Var
    OutPoint: IGxPointF;
Begin
    OutPoint := New GxPointF.CreateFromSize(SourceSize);
    Return OutPoint;
End Function GetPointFromSizeF;

This function returns the point based on the size, which is passed as an input parameter.

See also:

GxPointF