GetNumber.SetUpperLimit Method

GetNumberSetUpperLimit Method

Sets an upper limit on the number that can be returned. By default there is no upper limit.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void SetUpperLimit(
	double upperLimit,
	bool strictlyLessThan
)
Public Sub SetUpperLimit ( 
	upperLimit As Double,
	strictlyLessThan As Boolean
)

Parameters

upperLimit
Type: SystemDouble
largest acceptable number.
strictlyLessThan
Type: SystemBoolean
If true, then the returned number will be < upper_limit.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also