GxSize.Create

Syntax

Create(Width: Integer; Height: Integer);

Parameters

Width. Size height.

Height. Size width.

Description

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

Example

Function GetSize(Width: Integer; Height: Integer): IGxSize;
Var
    OutSize: IGxSize;
Begin
    OutSize := New GxSize.Create(Width, Height);
    Return OutSize;
End Function GetSize;

This function returns the new size, width and height of which are passed as input parameters.

See also:

GxSize