CreateFromSize(Size: IGxSize);
CreateFromSize(Size: Prognoz.Platform.Interop.Drawing.GxSize);
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 GetPointFromSize(SourceSize: IGxSize): IGxPoint;
Var
OutPoint: IGxPoint;
Begin
OutPoint := New GxPoint.CreateFromSize(SourceSize);
Return OutPoint;
End Function GetPointFromSize;
This function returns the point based on the size, which is passed as an input parameter.
Imports Prognoz.Platform.Interop.Drawing;
Function GetPointFromSize(SourceSize: GxSize): GxPoint;
Var
OutPoint: GxPoint = New GxPoint();
Begin
OutPoint.CreateFromSize(SourceSize);
Return OutPoint;
End Function;
This function returns the point based on the size, which is passed as an input parameter.
See also: