# C1.Win.Sizer.ImageScaling

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_Sizer_ImageScaling" data-uid="C1.Win.Sizer.ImageScaling" class="text-break">ImageScaling Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the image scaling.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Sizer.html">C1.Win.Sizer</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Sizer.4.8.dll</h6>
  <h5 id="C1_Win_Sizer_ImageScaling_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum ImageScaling : byte</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum ImageScaling As Byte</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_Win_Sizer_ImageScaling_Clip">Clip</td>
        <td><p>Use the image's original size, clipping it to the display area if necessary.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_ImageScaling_Hide">Hide</td>
        <td><p>Hide the image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_ImageScaling_Scale">Scale</td>
        <td><p>Scale the image to fit the display area.
This mode may increase or reduce the size of the image
while maintaining its aspect ratio.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_ImageScaling_Stretch">Stretch</td>
        <td><p>Stretch the image to fill the display area.
This mode will usually change the image's aspect ratio.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_ImageScaling_Tile">Tile</td>
        <td><p>Tile the image to fill the display area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_ImageScaling_TileStretch">TileStretch</td>
        <td><p>Tile the image into a 3x3 matrix and stretch it to fill the display area.
This mode preserves the size of the four corners of the image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_ImageScaling_TileStretchHorizontal">TileStretchHorizontal</td>
        <td><p>Tile the image into a row of 3 images and stretch it to fill the display area.
This mode preserves the size of the left and right parts of the image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_ImageScaling_TileStretchVertical">TileStretchVertical</td>
        <td><p>Tile the image into a column of 3 images and stretch it to fill the display area.
This mode preserves the size of the top and bottom parts of the image.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
