GxSizeF.Create

Syntax

Create(Width: Double; Height: Double);

Parameters

Width. Size height.

Heigh. Size width.

Description

The Create constructor creates a new size with the specified values of width and height.

Example

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.

See also:

GxSizeF