ComponentOne Bitmap for UWP
C1.UWP.DX Assembly / C1.Util.DX Namespace / DXUtil Class / Clamp Method / Clamp(Int32,Int32,Int32) Method
The value.
The min.
The max.

In This Topic
    Clamp(Int32,Int32,Int32) Method
    In This Topic
    Clamps the specified value.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Clamp( _
       ByVal value As System.Integer, _
       ByVal min As System.Integer, _
       ByVal max As System.Integer _
    ) As System.Integer
    public static System.int Clamp( 
       System.int value,
       System.int min,
       System.int max
    )

    Parameters

    value
    The value.
    min
    The min.
    max
    The max.

    Return Value

    The result of clamping a value between min and max
    See Also