# C1.Win.Pdf.C1PdfDocument.ToImage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Pdf_C1PdfDocument_ToImage_" data-uid="C1.Win.Pdf.C1PdfDocument.ToImage*">ToImage Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Pdf_C1PdfDocument_ToImage_" data-uid="C1.Win.Pdf.C1PdfDocument.ToImage*"></a>
<h4 id="C1_Win_Pdf_C1PdfDocument_ToImage_GrapeCity_Documents_Imaging_GcBitmap_" data-uid="C1.Win.Pdf.C1PdfDocument.ToImage(GrapeCity.Documents.Imaging.GcBitmap)">ToImage(GcBitmap)</h4>
<div class="markdown level1 summary"><p>Gets <span class="xref">GrapeCity.Documents.Drawing.Image</span> object from <span class="xref">GrapeCity.Documents.Imaging.GcBitmap</span> object.</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>


<a id="C1_Win_Pdf_C1PdfDocument_ToImage_" data-uid="C1.Win.Pdf.C1PdfDocument.ToImage*"></a>
<h4 id="C1_Win_Pdf_C1PdfDocument_ToImage_System_Drawing_Image_" data-uid="C1.Win.Pdf.C1PdfDocument.ToImage(System.Drawing.Image)">ToImage(Image)</h4>
<div class="markdown level1 summary"><p>Gets <span class="xref">GrapeCity.Documents.Drawing.Image</span> object from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.image">Image</a> object.</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(Image img)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ToImage(img As Image) 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.image">Image</a></td>
      <td><span class="parametername">img</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.image">Image</a> 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>
