Mono Class Library: System.Web.UI.WebControls.Unit Overview | Members

System.Web.UI.WebControls.Unit Constructor

Initializes a Unit structure from a double.

public Unit (double value)

Parameters

value
The value to be set.

Remarks

The Unit created is of type `UnitType.Pixel', and the value will be truncated.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0