CreateFromSize(Size: IGxSizeF);
CreateFromSize(Size: Prognoz.Platform.Interop.Drawing.GxSizeF);
Size. The size that is used to create a new point.
The CreateFromSize constructor creates a new point based on the size passed by the Size parameter.
The width corresponds to the X coordinate, the height of the specified parameter corresponds to the Y coordinate.
Function GetPointFromSizeF(SourceSize: IGxSizeF): IGxPointF;
Var
OutPoint: IGxPointF;
Begin
OutPoint := New GxPointF.CreateFromSize(SourceSize);
Return OutPoint;
End Function GetPointFromSizeF;
This function returns the point based on the size, which is passed as an input parameter.
Imports Prognoz.Platform.Interop.Drawing;
Function GetPointFromSizeF(SourceSize: GxSizeF): GxPointF;
Var
OutPoint: GxPointF = New GxPointF();
Begin
OutPoint.CreateFromSize(SourceSize);
Return OutPoint;
End Function;
The function returns the point based on the size, which is passed as an input parameter.
See also: