# C1.Win.Map.MapDistanceScale

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Map_MapDistanceScale" data-uid="C1.Win.Map.MapDistanceScale" class="text-break">MapDistanceScale Class
</h1>
  <div class="markdown level0 summary"><p>Represents the distance scale tool for the C1Map.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Win.Map.NotifyObject.html">NotifyObject</a></div>
    <div class="level2"><a class="xref" href="C1.Win.Map.MapVisualItem.html">MapVisualItem</a></div>
    <div class="level3"><a class="xref" href="C1.Win.Map.MapSubItem.html">MapSubItem</a></div>
    <div class="level4"><span class="xref">MapDistanceScale</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Map.html">C1.Win.Map</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Map.10.dll</h6>
  <h5 id="C1_Win_Map_MapDistanceScale_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MapDistanceScale : MapSubItem</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MapDistanceScale
    Inherits MapSubItem</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Map_MapDistanceScale_BarStyle" data-uid="C1.Win.Map.MapDistanceScale.BarStyle">
          <a class="xref" href="C1.Win.Map.MapDistanceScale.BarStyle.html#C1_Win_Map_MapDistanceScale_BarStyle">BarStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the scale bar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapDistanceScale_BarWidth" data-uid="C1.Win.Map.MapDistanceScale.BarWidth">
          <a class="xref" href="C1.Win.Map.MapDistanceScale.BarWidth.html#C1_Win_Map_MapDistanceScale_BarWidth">BarWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the scale bar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapDistanceScale_ShowImperial" data-uid="C1.Win.Map.MapDistanceScale.ShowImperial">
          <a class="xref" href="C1.Win.Map.MapDistanceScale.ShowImperial.html#C1_Win_Map_MapDistanceScale_ShowImperial">ShowImperial</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether show the scale bar which has imperial unit.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_MapDistanceScale_ShowMetric" data-uid="C1.Win.Map.MapDistanceScale.ShowMetric">
          <a class="xref" href="C1.Win.Map.MapDistanceScale.ShowMetric.html#C1_Win_Map_MapDistanceScale_ShowMetric">ShowMetric</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether show the scale bar which has metric unit.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
