|

Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
Returns the given value, enforcing it to be within the given range.
Namespace: DPSF
Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0
Syntax
C#
|
public static float ValueInRange(
float value,
float min,
float max
)
|
Visual Basic
|
Public Shared Function ValueInRange (
value As Single,
min As Single,
max As Single
) As Single
|
Visual C++
|
public:
static float ValueInRange(
float value,
float min,
float max
)
|
Parameters
value
Type: System..::..Single
The value to return if it is within the given Min and Max range.
min
Type: System..::..Single
The Minimum acceptable value. If Value is less than this then this Min will be returned instead of the value.
max
Type: System..::..Single
The Maximum acceptable value. If Value is greater than this then this Max will be returned instead of the value.
Return Value
Type: Single
See Also
DPSFHelper Class
DPSFHelper Members
DPSF Namespace

Send comments on this topic to
|