Gauges for WinForms | ComponentOne
C1.Win.C1Gauge.4.5.2 Assembly / C1.Win.C1Gauge Namespace / C1GaugePointer Class / UpdateValue Method / UpdateValue(Double,Double,Double) Method

In This Topic
    UpdateValue(Double,Double,Double) Method
    In This Topic
    Updates the pointer's Value with the number nearest 'newValue' that is the multiple of the snapping interval ('snapInterval') counting from the given origin ('snapOrigin').
    Syntax
    'Declaration
     
    Public Overloads Sub UpdateValue( _
       ByVal newValue As System.Double, _
       ByVal snapInterval As System.Double, _
       ByVal snapOrigin As System.Double _
    ) 
    public void UpdateValue( 
       System.double newValue,
       System.double snapInterval,
       System.double snapOrigin
    )

    Parameters

    newValue
    snapInterval
    snapOrigin
    Remarks
    If the Gauge uses logarithmic scale the snapInterval and snapOrigin values are expected to be in logarithmic coordinates. If not, these values must be in the same scale as the pointer's Value.
    See Also