# C1.Framework.IconSet.GetNextAvailableIcon

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_IconSet_GetNextAvailableIcon_" data-uid="C1.Framework.IconSet.GetNextAvailableIcon*">GetNextAvailableIcon Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_IconSet_GetNextAvailableIcon_" data-uid="C1.Framework.IconSet.GetNextAvailableIcon*"></a>
<h4 id="C1_Framework_IconSet_GetNextAvailableIcon_System_Drawing_Size_" data-uid="C1.Framework.IconSet.GetNextAvailableIcon(System.Drawing.Size)">GetNextAvailableIcon(Size)</h4>
<div class="markdown level1 summary"><p>Gets the next available icon of the requested size. If the icon of requested size is available in the icon set, it will be returned.
Otherwise, the icon of the next bigger size will be returned (or the biggest one icon of requested size is too big).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Icon GetNextAvailableIcon(Size size)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetNextAvailableIcon(size As Size) As C1Icon</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.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The requested size</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Framework.C1Icon.html">C1Icon</a></td>
      <td><p>The icon of the next available size.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
