# GrapeCity.Spreadsheet.WinForms.Ribbon.Icon

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_WinForms_Ribbon_Icon" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.Icon" class="text-break">Icon Class
</h1>
  <div class="markdown level0 summary"><p>Represents a visual icon that can be tinted and resized.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">Icon</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.html">GrapeCity.Spreadsheet.WinForms.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.WinForms.Ribbon.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_WinForms_Ribbon_Icon_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class Icon</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class Icon</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_Icon_FromFont_System_Drawing_Size_System_Drawing_Color_System_String_System_Drawing_Font_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.Icon.FromFont(System.Drawing.Size,System.Drawing.Color,System.String,System.Drawing.Font)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.Icon.FromFont.html#GrapeCity_Spreadsheet_WinForms_Ribbon_Icon_FromFont_System_Drawing_Size_System_Drawing_Color_System_String_System_Drawing_Font_">FromFont(Size, Color, string, Font)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of Icon with with specified key, size, color and image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_Icon_FromImage_System_Drawing_Size_System_Drawing_Color_System_Drawing_Image_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.Icon.FromImage(System.Drawing.Size,System.Drawing.Color,System.Drawing.Image)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.Icon.FromImage.html#GrapeCity_Spreadsheet_WinForms_Ribbon_Icon_FromImage_System_Drawing_Size_System_Drawing_Color_System_Drawing_Image_">FromImage(Size, Color, Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of Icon with with specified key, size, color and image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_Icon_FromVector_System_Drawing_Size_System_Drawing_Color_System_String_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.Icon.FromVector(System.Drawing.Size,System.Drawing.Color,System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.Icon.FromVector.html#GrapeCity_Spreadsheet_WinForms_Ribbon_Icon_FromVector_System_Drawing_Size_System_Drawing_Color_System_String_">FromVector(Size, Color, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of Icon with with specified key, size, color and image.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
