# FarPoint.Win.Chart.BuiltinMarker.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Chart_BuiltinMarker__ctor_" data-uid="FarPoint.Win.Chart.BuiltinMarker.#ctor*">BuiltinMarker Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Chart_BuiltinMarker__ctor_" data-uid="FarPoint.Win.Chart.BuiltinMarker.#ctor*"></a>
<h4 id="FarPoint_Win_Chart_BuiltinMarker__ctor_FarPoint_Win_Chart_MarkerShape_System_Single_" data-uid="FarPoint.Win.Chart.BuiltinMarker.#ctor(FarPoint.Win.Chart.MarkerShape,System.Single)">BuiltinMarker(MarkerShape, float)</h4>
<div class="markdown level1 summary"><p>Creates a marker with the specified shape and size.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public BuiltinMarker(MarkerShape shape, float size)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(shape As MarkerShape, size As Single)</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="FarPoint.Win.Chart.MarkerShape.html">MarkerShape</a></td>
      <td><span class="parametername">shape</span></td>
      <td><p>Shape of the marker.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>Size of the marker.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="FarPoint_Win_Chart_BuiltinMarker__ctor_FarPoint_Win_Chart_MarkerShape_System_Single__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>size 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>size is less than or equal to zero or size is greater than 72.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
