# C1.Win.Gauge.C1GaugePointer.IncValue

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Gauge_C1GaugePointer_IncValue_" data-uid="C1.Win.Gauge.C1GaugePointer.IncValue*">IncValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Gauge_C1GaugePointer_IncValue_" data-uid="C1.Win.Gauge.C1GaugePointer.IncValue*"></a>
<h4 id="C1_Win_Gauge_C1GaugePointer_IncValue_System_Int32_System_Double_" data-uid="C1.Win.Gauge.C1GaugePointer.IncValue(System.Int32,System.Double)">IncValue(int, double)</h4>
<div class="markdown level1 summary"><p>Increments the pointer's <a class="xref" href="C1.Win.Gauge.C1GaugePointer.Value.html#C1_Win_Gauge_C1GaugePointer_Value">Value</a> to the next intervalsCount'th (first, second, etc.)
multiple of the snapping interval ('snapInterval').</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void IncValue(int intervalsCount, double snapInterval)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub IncValue(intervalsCount As Integer, snapInterval As Double)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">intervalsCount</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">snapInterval</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_Gauge_C1GaugePointer_IncValue_System_Int32_System_Double__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>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 <a class="xref" href="C1.Win.Gauge.C1GaugePointer.Value.html#C1_Win_Gauge_C1GaugePointer_Value">Value</a>.</p>
</div>


<a id="C1_Win_Gauge_C1GaugePointer_IncValue_" data-uid="C1.Win.Gauge.C1GaugePointer.IncValue*"></a>
<h4 id="C1_Win_Gauge_C1GaugePointer_IncValue_System_Int32_System_Double_System_Double_" data-uid="C1.Win.Gauge.C1GaugePointer.IncValue(System.Int32,System.Double,System.Double)">IncValue(int, double, double)</h4>
<div class="markdown level1 summary"><p>Increments the pointer's <a class="xref" href="C1.Win.Gauge.C1GaugePointer.Value.html#C1_Win_Gauge_C1GaugePointer_Value">Value</a> to the next intervalsCount'th (first, second, etc.)
multiple of the snapping interval ('snapInterval'). The snapOrigin parameter
specifies the point of origin for snapping.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void IncValue(int intervalsCount, double snapInterval, double snapOrigin)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub IncValue(intervalsCount As Integer, snapInterval As Double, snapOrigin As Double)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">intervalsCount</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">snapInterval</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">snapOrigin</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_Gauge_C1GaugePointer_IncValue_System_Int32_System_Double_System_Double__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>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 <a class="xref" href="C1.Win.Gauge.C1GaugePointer.Value.html#C1_Win_Gauge_C1GaugePointer_Value">Value</a>.</p>
</div>
</div>
