CreateFromRect(Rect: IGxRect);
Rect. The rectangle that is used to create a new rectangle.
The CreateFromRect constructor creates a new rectangle that is the copy of the rectangle passed by the Rect parameter.
Function GetCopyRect(SourceRect: IGxRect): IGxRect;
Var
DestinationRect: IGxRect;
Begin
DestinationRect := New GxRect.CreateFromRect(SourceRect);
Return DestinationRect;
End Function GetCopyRect;
This function returns the copy of the rectangle passed as an input parameter.
See also: