Range Members TIBCO Spotfire 7.0 API Reference
The Range type exposes the following members.
Constructors

  NameDescription
Public methodRange(Range)
Initializes a new instance of the Range struct. Copy constructor.
Public methodRange(Double, Double)
Initializes a new instance of the Range struct.
Back to Top
Methods

  NameDescription
Public methodClamp
Clamps the specified value to this range. That is, the returned value will be within this range.
Public methodContains
Determines whether the specified value is within the range.
Public methodEquals
Compare for equality.
(Overrides ValueType Equals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Calculates hash code for a range.
(Overrides ValueType GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string representation of the range.
(Overrides ValueType ToString .)
Back to Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compare for equality.
Public operatorStatic memberInequality
Compare for Inequality.
Back to Top
Fields

  NameDescription
Public fieldStatic memberEmptyRange
Empty range. Both Low and High are 0.
Public fieldStatic memberInvalidRange
Invalid range. No operations except IsInvalid are allowed.
Public fieldStatic memberUnitRange
Unit range. Low is 0 and High is 1.
Back to Top
Properties

  NameDescription
Public propertyHigh
Gets the high limit of the range.
Public propertyIsEmptyRange
Gets a value indicating whether the range is empty or not.True Returns true if the range is an empty (point) interval.
Public propertyIsUnitRange
Gets a value indicating whether the range is a unit range. Returns true if the range is a unit range [0, 1].
Public propertyIsValidRange
Gets a value indicating whether the range is valid or not.
Public propertyLow
Gets the low limit of the range.
Public propertyMidpoint
Gets the mid-point of the range. Equal to (Low + High)/2.
Public propertyWidth
Gets the width of the range. Equal to High - Low.
Back to Top
See Also