# C1.Win.Map.Line

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Map_Line" data-uid="C1.Win.Map.Line" class="text-break">Line Class
</h1>
  <div class="markdown level0 summary"><p>Represents the line appearance for various map elements.</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.StyleObject.html">StyleObject</a></div>
    <div class="level3"><span class="xref">Line</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_Line_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public class Line : StyleObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public Class Line
    Inherits StyleObject</code></pre>
  </div>
  <h3 id="constructors">Constructors
</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_Line__ctor_C1_Win_Map_Line_" data-uid="C1.Win.Map.Line.#ctor(C1.Win.Map.Line)">
          <a class="xref" href="C1.Win.Map.Line.-ctor.html#C1_Win_Map_Line__ctor_C1_Win_Map_Line_">Line(Line)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.Map.Line.html">Line</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Line_Color" data-uid="C1.Win.Map.Line.Color">
          <a class="xref" href="C1.Win.Map.Line.Color.html#C1_Win_Map_Line_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_Line_Style" data-uid="C1.Win.Map.Line.Style">
          <a class="xref" href="C1.Win.Map.Line.Style.html#C1_Win_Map_Line_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the dashed line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_Line_Width" data-uid="C1.Win.Map.Line.Width">
          <a class="xref" href="C1.Win.Map.Line.Width.html#C1_Win_Map_Line_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the line.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</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_Line_ResetColor" data-uid="C1.Win.Map.Line.ResetColor">
          <a class="xref" href="C1.Win.Map.Line.ResetColor.html#C1_Win_Map_Line_ResetColor">ResetColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the Color to default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_Line_ResetStyle" data-uid="C1.Win.Map.Line.ResetStyle">
          <a class="xref" href="C1.Win.Map.Line.ResetStyle.html#C1_Win_Map_Line_ResetStyle">ResetStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the Style to default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_Line_ResetWidth" data-uid="C1.Win.Map.Line.ResetWidth">
          <a class="xref" href="C1.Win.Map.Line.ResetWidth.html#C1_Win_Map_Line_ResetWidth">ResetWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the Width to default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_Line_ShouldSerializeColor" data-uid="C1.Win.Map.Line.ShouldSerializeColor">
          <a class="xref" href="C1.Win.Map.Line.ShouldSerializeColor.html#C1_Win_Map_Line_ShouldSerializeColor">ShouldSerializeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if Color is in default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_Line_ShouldSerializeStyle" data-uid="C1.Win.Map.Line.ShouldSerializeStyle">
          <a class="xref" href="C1.Win.Map.Line.ShouldSerializeStyle.html#C1_Win_Map_Line_ShouldSerializeStyle">ShouldSerializeStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if Style is in default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Map_Line_ShouldSerializeWidth" data-uid="C1.Win.Map.Line.ShouldSerializeWidth">
          <a class="xref" href="C1.Win.Map.Line.ShouldSerializeWidth.html#C1_Win_Map_Line_ShouldSerializeWidth">ShouldSerializeWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if Width is in default state.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
