# C1.Win.Ribbon.StyleGlyphSet

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Ribbon_StyleGlyphSet" data-uid="C1.Win.Ribbon.StyleGlyphSet" class="text-break">StyleGlyphSet Class
</h1>
  <div class="markdown level0 summary"><p>Represents the set of known glyphs that can be referenced from style elements.</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">StyleGlyphSet</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Ribbon.html">C1.Win.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Ribbon.10.dll</h6>
  <h5 id="C1_Win_Ribbon_StyleGlyphSet_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StyleGlyphSet</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StyleGlyphSet</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Ribbon_StyleGlyphSet_Item_C1_Win_Ribbon_StyleGlyph_" data-uid="C1.Win.Ribbon.StyleGlyphSet.Item(C1.Win.Ribbon.StyleGlyph)">
          <a class="xref" href="C1.Win.Ribbon.StyleGlyphSet.Item.html#C1_Win_Ribbon_StyleGlyphSet_Item_C1_Win_Ribbon_StyleGlyph_">this[StyleGlyph]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an image associated with the specified <a class="xref" href="C1.Win.Ribbon.StyleGlyph.html">StyleGlyph</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="C1_Win_Ribbon_StyleGlyphSet_CreateIcon_C1_Win_Ribbon_StyleGlyph_" data-uid="C1.Win.Ribbon.StyleGlyphSet.CreateIcon(C1.Win.Ribbon.StyleGlyph)">
          <a class="xref" href="C1.Win.Ribbon.StyleGlyphSet.CreateIcon.html#C1_Win_Ribbon_StyleGlyphSet_CreateIcon_C1_Win_Ribbon_StyleGlyph_">CreateIcon(StyleGlyph)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a glyph icon that is drawn.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_StyleGlyphSet_GetColored_C1_Win_Ribbon_StyleGlyph_System_Drawing_Color_System_Boolean_" data-uid="C1.Win.Ribbon.StyleGlyphSet.GetColored(C1.Win.Ribbon.StyleGlyph,System.Drawing.Color,System.Boolean)">
          <a class="xref" href="C1.Win.Ribbon.StyleGlyphSet.GetColored.html#C1_Win_Ribbon_StyleGlyphSet_GetColored_C1_Win_Ribbon_StyleGlyph_System_Drawing_Color_System_Boolean_">GetColored(StyleGlyph, Color, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a glyph image that is drawn using the specified foreground color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_StyleGlyphSet_GetSize_C1_Win_Ribbon_StyleGlyph_" data-uid="C1.Win.Ribbon.StyleGlyphSet.GetSize(C1.Win.Ribbon.StyleGlyph)">
          <a class="xref" href="C1.Win.Ribbon.StyleGlyphSet.GetSize.html#C1_Win_Ribbon_StyleGlyphSet_GetSize_C1_Win_Ribbon_StyleGlyph_">GetSize(StyleGlyph)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the size of the specified glyph image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_StyleGlyphSet_Update_C1_Win_Ribbon_StyleGlyph_System_Drawing_Image_System_Boolean_" data-uid="C1.Win.Ribbon.StyleGlyphSet.Update(C1.Win.Ribbon.StyleGlyph,System.Drawing.Image,System.Boolean)">
          <a class="xref" href="C1.Win.Ribbon.StyleGlyphSet.Update.html#C1_Win_Ribbon_StyleGlyphSet_Update_C1_Win_Ribbon_StyleGlyph_System_Drawing_Image_System_Boolean_">Update(StyleGlyph, Image, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the image associated with the specified <a class="xref" href="C1.Win.Ribbon.StyleGlyph.html">StyleGlyph</a>
and determines whether the new image can be disposed from this
<a class="xref" href="C1.Win.Ribbon.StyleGlyphSet.html">StyleGlyphSet</a>, i.e. the glyph set owns the image.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
