CreateFromPoint(Point: IGxPoint);
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.
See also: