SciChart.Data Assembly > SciChart.Data.Model Namespace > RangeFactory Class > NewWithMinMax Method : NewWithMinMax(IRange,IComparable,IComparable) Method
The original range to use as a reference
The min value of the new range
The max value of the new range
NewWithMinMax(IRange,IComparable,IComparable) Method
Creates a new IRange derived instance of the same type as originalRange with the specified Min and Max
Syntax
public static IRange NewWithMinMax( 
   IRange originalRange,
   IComparable min,
   IComparable max
)

Parameters

originalRange
The original range to use as a reference
min
The min value of the new range
max
The max value of the new range

Return Value

A new IRange derived instance of the same type as originalRange
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