# GrapeCity.CalcEngine.SizingMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_CalcEngine_SizingMode" data-uid="GrapeCity.CalcEngine.SizingMode" class="text-break">SizingMode Enum
</h1>
  <div class="markdown level0 summary"><p>Represents the image dimensions.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.CalcEngine.html">GrapeCity.CalcEngine</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_CalcEngine_SizingMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum SizingMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum SizingMode</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="GrapeCity_CalcEngine_SizingMode_Custom">Custom</td>
        <td><p>Displays the image according to a custom height and width.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_SizingMode_Fill">Fill</td>
        <td><p>Fills the entire cell with the image, ignoring aspect ratio.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_SizingMode_Fit">Fit</td>
        <td><p>Fits the image in the cell, maintaining the original aspect ratio.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_SizingMode_Original">Original</td>
        <td><p>Maintains the original image size, which may exceed the bounds of the cell.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
