Eyeshot 10 WinForms API Reference
LimitRange<T> Method

WinForms Assembly > devDept.Geometry Namespace > Utility Class : LimitRange<T> Method
The type of the value to clamp
Lower limit
The value
Upper limit
Clamps a value between the specified lower and upper limits.
Syntax
'Declaration
 
Public Shared Sub LimitRange(Of T As IComparable)( _
   ByVal low As T, _
   ByRef value As T, _
   ByVal high As T _
) 
public static void LimitRange<T>( 
   T low,
   ref T value,
   T high
)
where T: IComparable

Parameters

low
Lower limit
value
The value
high
Upper limit

Type Parameters

T
The type of the value to clamp
See Also

Reference

Utility Class
Utility Members