# GrapeCity.Documents.Drawing.InterpolationMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Drawing_InterpolationMode" data-uid="GrapeCity.Documents.Drawing.InterpolationMode" class="text-break">InterpolationMode Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the sampling or filtering mode to use when scaling an image.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Drawing.html">GrapeCity.Documents.Drawing</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Drawing_InterpolationMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum InterpolationMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum InterpolationMode</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_Documents_Drawing_InterpolationMode_Cubic">Cubic</td>
        <td><p>A bicubic interpolation algorithm.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_InterpolationMode_Downscale">Downscale</td>
        <td><p>A resampling algorithm for downscaling by factors greater than 2.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_InterpolationMode_Linear">Linear</td>
        <td><p>A bilinear interpolation algorithm.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_InterpolationMode_NearestNeighbor">NearestNeighbor</td>
        <td><p>A nearest neighbor interpolation algorithm. Also known as nearest pixel or point interpolation.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
