CreateFromPoint(Point: IGxPoint);
CreateFromPoint(Point: Prognoz.Platform.Interop.Drawing.GxPoint);
Point. The point that is used to create a new point.
The CreateFromPoint constructor creates a new point that is the copy of the point passed by the Point parameter.
Function GetCopyPoint(SourcePoint: IGxPoint): IGxPoint;
Var
DestinationPoint: IGxPoint;
Begin
DestinationPoint := New GxPoint.CreateFromPoint(SourcePoint);
Return DestinationPoint;
End Function GetCopyPoint;
The function returns the copy of the point passed as an input parameter.
Imports Prognoz.Platform.Interop.Drawing;
Function GetCopyPoint(SourcePoint: GxPoint): GxPoint;
Var
DestinationPoint: GxPoint = New GxPointClass();
Begin
DestinationPoint.CreateFromPoint(SourcePoint);
Return DestinationPoint;
End Function;
This function returns the copy of the point passed as an input parameter.
See also: