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