GxPointF.Create

Fore Syntax

Create(X: Double; Y: Double);

Fore.NET Syntax

Create(X: Double; Y: Double);

Parameters

X. The X coordinate of the point.

Y. The Y coordinate of the point.

Description

The Create constructor creates a new point with the specified coordinates.

Fore Example

Function GetPointF(X: Double; Y: Double): IGxPointF;
Var
    OutPoint: IGxPointF;
Begin
    OutPoint := New GxPointF.Create(X, Y);
    Return OutPoint;
End Function GetPointF;

This function returns a new point, which coordinates are passed as input parameters.

Fore.NET Example

Imports Prognoz.Platform.Interop.Drawing;

Function GetPointF(X: Double; Y: Double): GxPointF;
Var
    OutPoint: GxPointF = New GxPointFClass();
Begin
    OutPoint.Create(X, Y);
    Return OutPoint;
End Function;

This function returns a new point, which coordinates are passed as input parameters.

See also:

GxPointF