# GrapeCity.Spreadsheet.CfIcon.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_CfIcon__ctor_" data-uid="GrapeCity.Spreadsheet.CfIcon.#ctor*">CfIcon Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_CfIcon__ctor_" data-uid="GrapeCity.Spreadsheet.CfIcon.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_CfIcon__ctor_GrapeCity_Spreadsheet_IconSetType_System_Int32_" data-uid="GrapeCity.Spreadsheet.CfIcon.#ctor(GrapeCity.Spreadsheet.IconSetType,System.Int32)">CfIcon(IconSetType, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.CfIcon.html">CfIcon</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CfIcon(IconSetType iconSet, int iconId)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(iconSet As IconSetType, iconId 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="GrapeCity.Spreadsheet.IconSetType.html">IconSetType</a></td>
      <td><span class="parametername">iconSet</span></td>
      <td><p>An <a class="xref" href="GrapeCity.Spreadsheet.IconSetType.html">IconSetType</a> value represents the icon set type.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">iconId</span></td>
      <td><p>An integer value represents the icon to be used.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
