Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DXUtil Class / Clamp Method / Clamp(Single,Single,Single) Method
The value.
The min.
The max.

In This Topic
    Clamp(Single,Single,Single) Method
    In This Topic
    Clamps the specified value.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Clamp( _
       ByVal value As System.Single, _
       ByVal min As System.Single, _
       ByVal max As System.Single _
    ) As System.Single
    public static System.float Clamp( 
       System.float value,
       System.float min,
       System.float 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