# C1.Framework.BitmapIconRenderer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_BitmapIconRenderer" data-uid="C1.Framework.BitmapIconRenderer" class="text-break">BitmapIconRenderer Class
</h1>
  <div class="markdown level0 summary"><p>Provides functionality for rendering a <a class="xref" href="C1.Framework.C1BitmapIcon.html">C1BitmapIcon</a> to an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.image">Image</a>.</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"><a class="xref" href="C1.Framework.IconRenderer.html">IconRenderer</a></div>
    <div class="level2"><span class="xref">BitmapIconRenderer</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_BitmapIconRenderer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BitmapIconRenderer : IconRenderer, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BitmapIconRenderer
    Inherits IconRenderer
    Implements IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_BitmapIconRenderer__ctor_C1_Framework_C1BitmapIcon_System_Int32_" data-uid="C1.Framework.BitmapIconRenderer.#ctor(C1.Framework.C1BitmapIcon,System.Int32)">
          <a class="xref" href="C1.Framework.BitmapIconRenderer.-ctor.html#C1_Framework_BitmapIconRenderer__ctor_C1_Framework_C1BitmapIcon_System_Int32_">BitmapIconRenderer(C1BitmapIcon, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.BitmapIconRenderer.html">BitmapIconRenderer</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Framework_BitmapIconRenderer_ImageIndex" data-uid="C1.Framework.BitmapIconRenderer.ImageIndex">
          <a class="xref" href="C1.Framework.BitmapIconRenderer.ImageIndex.html#C1_Framework_BitmapIconRenderer_ImageIndex">ImageIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the index of the small image in the SmallImageList.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BitmapIconRenderer_ImageKey" data-uid="C1.Framework.BitmapIconRenderer.ImageKey">
          <a class="xref" href="C1.Framework.BitmapIconRenderer.ImageKey.html#C1_Framework_BitmapIconRenderer_ImageKey">ImageKey</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the key of the small image in the SmallImageList.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BitmapIconRenderer_ImageList" data-uid="C1.Framework.BitmapIconRenderer.ImageList">
          <a class="xref" href="C1.Framework.BitmapIconRenderer.ImageList.html#C1_Framework_BitmapIconRenderer_ImageList">ImageList</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the object that contains the images to display.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BitmapIconRenderer_ShowAsMonochrome" data-uid="C1.Framework.BitmapIconRenderer.ShowAsMonochrome">
          <a class="xref" href="C1.Framework.BitmapIconRenderer.ShowAsMonochrome.html#C1_Framework_BitmapIconRenderer_ShowAsMonochrome">ShowAsMonochrome</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the bitmap is shown in a single color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BitmapIconRenderer_Size" data-uid="C1.Framework.BitmapIconRenderer.Size">
          <a class="xref" href="C1.Framework.BitmapIconRenderer.Size.html#C1_Framework_BitmapIconRenderer_Size">Size</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size of icon to show.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BitmapIconRenderer_Source" data-uid="C1.Framework.BitmapIconRenderer.Source">
          <a class="xref" href="C1.Framework.BitmapIconRenderer.Source.html#C1_Framework_BitmapIconRenderer_Source">Source</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BitmapIconRenderer_Stretch" data-uid="C1.Framework.BitmapIconRenderer.Stretch">
          <a class="xref" href="C1.Framework.BitmapIconRenderer.Stretch.html#C1_Framework_BitmapIconRenderer_Stretch">Stretch</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.Framework.BitmapIconRenderer.Stretch.html#C1_Framework_BitmapIconRenderer_Stretch">Stretch</a> enumeration value that describes how the shape fills its allocated space.</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_Framework_BitmapIconRenderer_GetImage" data-uid="C1.Framework.BitmapIconRenderer.GetImage">
          <a class="xref" href="C1.Framework.BitmapIconRenderer.GetImage.html#C1_Framework_BitmapIconRenderer_GetImage">GetImage()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the image that the icon was rendered into.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
