# C1.WPF.Excel.ImageScaling

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_Excel_ImageScaling" data-uid="C1.WPF.Excel.ImageScaling" class="text-break">ImageScaling Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies how images are scaled within spreadsheet cells.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Excel.html">C1.WPF.Excel</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Excel.4.6.2.dll</h6>
  <h5 id="C1_WPF_Excel_ImageScaling_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum ImageScaling</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum ImageScaling</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_WPF_Excel_ImageScaling_Clip">Clip</td>
        <td><p>Images are clipped to fit within the cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_ImageScaling_None">None</td>
        <td><p>Images are rendered in their original size, regardless of cell size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_ImageScaling_Scale">Scale</td>
        <td><p>Images are scaled to fill the cell while preserving their original aspect ratio.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_ImageScaling_Stretch">Stretch</td>
        <td><p>Images are stretched to fill the cell.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
