Click or drag to resize

OptionInteger Constructor (Int32, Boolean, Int32)

Initializes a new instance of the OptionInteger class.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public OptionInteger(
	int initialValue,
	bool setLowerLimit,
	int limit
)

Parameters

initialValue
Type: SystemInt32
The initial value.
setLowerLimit
Type: SystemBoolean
If true, limit sets the lower limit and upper limit is undefined If false, limit sets the upper limit and lower limit is undefined.
limit
Type: SystemInt32
If setLowerLimit is true, then limit is the minimum value. Otherwise, it is the maximum.
See Also