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)
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also