# C1.Framework.C1PathIcon.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_C1PathIcon__ctor_" data-uid="C1.Framework.C1PathIcon.#ctor*">C1PathIcon Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_C1PathIcon__ctor_" data-uid="C1.Framework.C1PathIcon.#ctor*"></a>
<h4 id="C1_Framework_C1PathIcon__ctor" data-uid="C1.Framework.C1PathIcon.#ctor">C1PathIcon()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.C1PathIcon.html">C1PathIcon</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1PathIcon()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_Framework_C1PathIcon__ctor_" data-uid="C1.Framework.C1PathIcon.#ctor*"></a>
<h4 id="C1_Framework_C1PathIcon__ctor_System_String_" data-uid="C1.Framework.C1PathIcon.#ctor(System.String)">C1PathIcon(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.C1PathIcon.html">C1PathIcon</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1PathIcon(string key)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(key As String)</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.string">string</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>String used as a key to retrieve the image.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_C1PathIcon__ctor_" data-uid="C1.Framework.C1PathIcon.#ctor*"></a>
<h4 id="C1_Framework_C1PathIcon__ctor_System_String_System_Drawing_Size_System_Drawing_Color_System_String_" data-uid="C1.Framework.C1PathIcon.#ctor(System.String,System.Drawing.Size,System.Drawing.Color,System.String)">C1PathIcon(string, Size, Color, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.C1PathIcon.html">C1PathIcon</a> class with specified key, size and color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1PathIcon(string key, Size size, Color color, string data)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(key As String, size As Size, color As Color, data As String)</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.string">string</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>String used as a key to retrieve the image.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The icon size.</p>
</td>
    </tr>
    <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>Indicates the icon color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">data</span></td>
      <td><p>The svg string describing shape to display.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_C1PathIcon__ctor_" data-uid="C1.Framework.C1PathIcon.#ctor*"></a>
<h4 id="C1_Framework_C1PathIcon__ctor_System_String_System_Drawing_Size_System_Drawing_Color_System_String_System_Drawing_Color_" data-uid="C1.Framework.C1PathIcon.#ctor(System.String,System.Drawing.Size,System.Drawing.Color,System.String,System.Drawing.Color)">C1PathIcon(string, Size, Color, string, Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.C1PathIcon.html">C1PathIcon</a> class with specified key, size and color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1PathIcon(string key, Size size, Color color, string data, Color backColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(key As String, size As Size, color As Color, data As String, backColor As Color)</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.string">string</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>String used as a key to retrieve the image.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The icon size.</p>
</td>
    </tr>
    <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>Indicates the icon color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">data</span></td>
      <td><p>The svg string describing shape to display.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">backColor</span></td>
      <td><p>The icon's background color.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
