CreateFromRect(Rect: IGxRectF);
CreateFromRect(Rect: Prognoz.Platform.Interop.Drawing.GxRectF);
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.
Imports Prognoz.Platform.Interop.Drawing;
Function GetCopyRectF(SourceRect: GxRectF): GxRectF;
Var
DestinationRect: GxRectF = New GxRectFClass();
Begin
DestinationRect.CreateFromRect(SourceRect);
Return DestinationRect;
End Function;
This function returns the copy of the rectangle passed as an input parameter.
See also: