# GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.Resize

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_Skia_GcSkiaBitmap_Resize_" data-uid="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.Resize*">Resize Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_Skia_GcSkiaBitmap_Resize_" data-uid="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.Resize*"></a>
<h4 id="GrapeCity_Documents_Imaging_Skia_GcSkiaBitmap_Resize_System_Int32_System_Int32_GrapeCity_Documents_Imaging_Skia_ResizeQuality_" data-uid="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.Resize(System.Int32,System.Int32,GrapeCity.Documents.Imaging.Skia.ResizeQuality)">Resize(int, int, ResizeQuality)</h4>
<div class="markdown level1 summary"><p>Creates a new <a class="xref" href="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.html">GcSkiaBitmap</a> containing a resized copy of the current image.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GcSkiaBitmap Resize(int targetWidth, int targetHeight, ResizeQuality resizeQuality = ResizeQuality.Medium)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Resize(targetWidth As Integer, targetHeight As Integer, Optional resizeQuality As ResizeQuality = ResizeQuality.Medium) As GcSkiaBitmap</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">targetWidth</span></td>
      <td><p>The width of the resized image, in pixels.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">targetHeight</span></td>
      <td><p>The height of the resized image, in pixels.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.Skia.ResizeQuality.html">ResizeQuality</a></td>
      <td><span class="parametername">resizeQuality</span></td>
      <td><p>The resizing filter quality.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.html">GcSkiaBitmap</a></td>
      <td><p>The new <a class="xref" href="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.html">GcSkiaBitmap</a> containing the resized image.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
