GetIndicesRange Method (IDataSeries)
Gets the integer indices of the XValues array that are currently in the VisibleRange passed in,
and an indefinite range otherwise.
Syntax
IndexRange GetIndicesRange( IRange visibleRange, SearchMode downSearchMode, SearchMode upSearchMode )
Parameters
- visibleRange
- The VisibleRange to get the indices range.
- downSearchMode
- Specifies the search mode used to look for the index of visibleRange.Min.Min.
- upSearchMode
- Specifies the search mode used to look for the index of visibleRange.Max.Max.
Return Value
The indices to the X-Data that are currently in range.
Example
If the input X-data is 0...99 in steps of 1, the VisibleRange is (10, 30) then the Indices Range will be 10, 30.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also