ComponentOne Gauges for WinForms
UpdateValue(Double,Double) Method

C1.Win.C1Gauge.4 Assembly > C1.Win.C1Gauge Namespace > C1GaugePointer Class > UpdateValue Method : UpdateValue(Double,Double) Method
Updates the pointer's Value with the number nearest 'newValue' that is the multiple of the snapping interval ('snapInterval').
Syntax
'Declaration
 
Public Overloads Sub UpdateValue( _
   ByVal newValue As System.Double, _
   ByVal snapInterval As System.Double _
) 
public void UpdateValue( 
   System.double newValue,
   System.double snapInterval
)

Parameters

newValue
snapInterval
Remarks
If the Gauge uses logarithmic scale the snapping interval is expected to be in logarithmic coordinates. If not, the 'snapInterval' parameter must be in the same scale as the pointer's Value.
See Also

Reference

C1GaugePointer Class
C1GaugePointer Members
Overload List