# FarPoint.Win.Chart.EnhancedSolidLine.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Chart_EnhancedSolidLine__ctor_" data-uid="FarPoint.Win.Chart.EnhancedSolidLine.#ctor*">EnhancedSolidLine Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Chart_EnhancedSolidLine__ctor_" data-uid="FarPoint.Win.Chart.EnhancedSolidLine.#ctor*"></a>
<h4 id="FarPoint_Win_Chart_EnhancedSolidLine__ctor_System_Drawing_Color_System_Single_FarPoint_Win_Chart_CompoundType_FarPoint_Win_Chart_DashType_FarPoint_Win_Chart_CapType_FarPoint_Win_Chart_JoinType_FarPoint_Win_Chart_ArrowType_FarPoint_Win_Chart_ArrowType_System_Int32_System_Int32_" data-uid="FarPoint.Win.Chart.EnhancedSolidLine.#ctor(System.Drawing.Color,System.Single,FarPoint.Win.Chart.CompoundType,FarPoint.Win.Chart.DashType,FarPoint.Win.Chart.CapType,FarPoint.Win.Chart.JoinType,FarPoint.Win.Chart.ArrowType,FarPoint.Win.Chart.ArrowType,System.Int32,System.Int32)">EnhancedSolidLine(Color, float, CompoundType, DashType, CapType, JoinType, ArrowType, ArrowType, int, int)</h4>
<div class="markdown level1 summary"><p>Creates a line with the specified color and width.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public EnhancedSolidLine(Color color, float width, CompoundType compoundType, DashType dashType, CapType capType, JoinType joinType, ArrowType beginArrowType, ArrowType endArrowType, int beginArrowSize, int endArrowSize)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(color As Color, width As Single, compoundType As CompoundType, dashType As DashType, capType As CapType, joinType As JoinType, beginArrowType As ArrowType, endArrowType As ArrowType, beginArrowSize As Integer, endArrowSize As Integer)</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.drawing.color">Color</a></td>
      <td><span class="parametername">color</span></td>
      <td><p>Color of the line.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>Width of the line.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Chart.CompoundType.html">CompoundType</a></td>
      <td><span class="parametername">compoundType</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Chart.DashType.html">DashType</a></td>
      <td><span class="parametername">dashType</span></td>
      <td><p>Dash type of the line</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Chart.CapType.html">CapType</a></td>
      <td><span class="parametername">capType</span></td>
      <td><p>Cap type of the line</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Chart.JoinType.html">JoinType</a></td>
      <td><span class="parametername">joinType</span></td>
      <td><p>Join type of the line</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Chart.ArrowType.html">ArrowType</a></td>
      <td><span class="parametername">beginArrowType</span></td>
      <td><p>Arrow type at start of the line</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Chart.ArrowType.html">ArrowType</a></td>
      <td><span class="parametername">endArrowType</span></td>
      <td><p>Arrow size at start of the line</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">beginArrowSize</span></td>
      <td><p>Arrow type at end of the line</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">endArrowSize</span></td>
      <td><p>Arrow size at end of the line</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="FarPoint_Win_Chart_EnhancedSolidLine__ctor_System_Drawing_Color_System_Single_FarPoint_Win_Chart_CompoundType_FarPoint_Win_Chart_DashType_FarPoint_Win_Chart_CapType_FarPoint_Win_Chart_JoinType_FarPoint_Win_Chart_ArrowType_FarPoint_Win_Chart_ArrowType_System_Int32_System_Int32__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Width is measured in points.</p>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception">ArgumentOutOfRangeException</a></td>
      <td><p>width is less than or equal to zero or width is greater than 3.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
