TClrSize Class

Stores an ordered pair of integers, which specify a Height and Width.

Namespace: CNClrLib.Control.Graphics
TPersistent
  CNClrLib.Control.Graphics.TClrSize
type
 TClrSize = class(TPersistent)
 end;

The TClrSize type exposes the following members.

Show:
 NameDescription
Create(Integer,Integer)

Overloaded. Initializes a new instance of the TClrSize Class from the specified dimensions.

Create(_Size)

Overloaded. Initializes a new instance of the TClrSize Class from the specified .Net Size object.

Destroy

Frees the resources allocated with a TClrSize instance.

Top
Show:
 NameDescription
Height

Gets or sets the vertical component of this Size class.

OnChange

Occurs when a property of this class changes.

Size

Gets the .Net Size object as interface.

Width

Gets or sets the horizontal component of this Size class.

Top
Show:
 NameDescription
Assign(TPersistent)

Represents method Assign(TPersistent).

Changed

Represents method Changed.

IsDefault

Represents method IsDefault.

SetSize(Integer,Integer)

Overloaded. Represents method SetSize(Integer,Integer).

Top