# C1.WPF.Gauge.C1BulletGraph.GetRangeRect

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Gauge_C1BulletGraph_GetRangeRect_" data-uid="C1.WPF.Gauge.C1BulletGraph.GetRangeRect*">GetRangeRect Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Gauge_C1BulletGraph_GetRangeRect_" data-uid="C1.WPF.Gauge.C1BulletGraph.GetRangeRect*"></a>
<h4 id="C1_WPF_Gauge_C1BulletGraph_GetRangeRect_C1_WPF_Gauge_GaugeRange_System_Double_" data-uid="C1.WPF.Gauge.C1BulletGraph.GetRangeRect(C1.WPF.Gauge.GaugeRange,System.Double)">GetRangeRect(GaugeRange, double)</h4>
<div class="markdown level1 summary"><p>Get the rectangle of gauge range.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override Rect GetRangeRect(GaugeRange range, double value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Function GetRangeRect(range As GaugeRange, value As Double) As Rect</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="C1.WPF.Gauge.GaugeRange.html">GaugeRange</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>The gauge range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The gauge value.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">Rect</span></td>
      <td><p>The rectangle of gauge range.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="C1.WPF.Gauge.C1LinearGauge.GetRangeRect.html#C1_WPF_Gauge_C1LinearGauge_GetRangeRect_C1_WPF_Gauge_GaugeRange_System_Double_">C1LinearGauge.GetRangeRect(GaugeRange, double)</a></div>
</div>
