collapse_all

expand_all

collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++
DPSF API Documentation
DPSFHelper
.
.
::
..ValueInRange Method
gradient

Returns the given value, enforcing it to be within the given range.

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

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

collapse_allSee Also

DPSFHelper Class

DPSFHelper Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com