[]
        
(Showing Draft Content)

C1.Win.Gauge.C1GaugePointer.IncValue

IncValue Method

IncValue(int, double)

Increments the pointer's Value to the next intervalsCount'th (first, second, etc.) multiple of the snapping interval ('snapInterval').

Declaration
public void IncValue(int intervalsCount, double snapInterval)
Parameters
Type Name Description
int intervalsCount
double 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.

IncValue(int, double, double)

Increments the pointer's Value to the next intervalsCount'th (first, second, etc.) multiple of the snapping interval ('snapInterval'). The snapOrigin parameter specifies the point of origin for snapping.

Declaration
public void IncValue(int intervalsCount, double snapInterval, double snapOrigin)
Parameters
Type Name Description
int intervalsCount
double snapInterval
double 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.