Create(Width: Double; Height: Double);
Create(Width: Double; Height: Double);
Width. Size height.
Heigh. Size width.
The Create constructor creates a new size with the specified values of width and height.
Function GetSizeF(Width: Double; Height: Double): IGxSizeF;
Var
OutSize: IGxSizeF;
Begin
OutSize := New GxSizeF.Create(Width, Height);
Return OutSize;
End Function GetSizeF;
The function returns the new size, width and height of which are passed as input parameters.
Imports Prognoz.Platform.Interop.Drawing;
Function GetSizeF(Width: Double; Height: Double): GxSizeF;
Var
OutSize: GxSizeF = New GxSizeFClass();
Begin
OutSize.Create(Width, Height);
Return OutSize;
End Function;
The function returns the new size, width and height of which are passed as input parameters.
See also: