# C1.Util.Drawing.ToImage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_Drawing_ToImage_" data-uid="C1.Util.Drawing.ToImage*">ToImage Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_Drawing_ToImage_" data-uid="C1.Util.Drawing.ToImage*"></a>
<h4 id="C1_Util_Drawing_ToImage_GrapeCity_Documents_Imaging_GcBitmap_" data-uid="C1.Util.Drawing.ToImage(GrapeCity.Documents.Imaging.GcBitmap)">ToImage(GcBitmap)</h4>
<div class="markdown level1 summary"><p>Convert bitmap to image.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Image ToImage(GcBitmap bmp)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ToImage(bmp As GcBitmap) As Image</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><span class="xref">GcBitmap</span></td>
      <td><span class="parametername">bmp</span></td>
      <td><p>The <span class="xref">GrapeCity.Documents.Imaging.GcBitmap</span> object.</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><span class="xref">Image</span></td>
      <td><p>The <span class="xref">GrapeCity.Documents.Drawing.Image</span> object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
