# C1.WPF.Word.C1WordDocument.DrawImage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Word_C1WordDocument_DrawImage_" data-uid="C1.WPF.Word.C1WordDocument.DrawImage*">DrawImage Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Word_C1WordDocument_DrawImage_" data-uid="C1.WPF.Word.C1WordDocument.DrawImage*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_DrawImage_C1_WPF_Bitmap_C1Bitmap_System_Windows_Rect_" data-uid="C1.WPF.Word.C1WordDocument.DrawImage(C1.WPF.Bitmap.C1Bitmap,System.Windows.Rect)">DrawImage(C1Bitmap, Rect)</h4>
<div class="markdown level1 summary"><p>Draw image/bitmap with content alignment.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void DrawImage(C1Bitmap image, Rect rc)</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">C1Bitmap</span></td>
      <td><span class="parametername">image</span></td>
      <td><p>The drawing image/bitmap.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td><span class="parametername">rc</span></td>
      <td><p>The drawing rectangle.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_C1WordDocument_DrawImage_" data-uid="C1.WPF.Word.C1WordDocument.DrawImage*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_DrawImage_System_Windows_Media_Imaging_WriteableBitmap_System_Windows_Rect_System_Windows_Rect_" data-uid="C1.WPF.Word.C1WordDocument.DrawImage(System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect,System.Windows.Rect)">DrawImage(WriteableBitmap, Rect, Rect)</h4>
<div class="markdown level1 summary"><p>Draw image/bitmap with content alignment.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void DrawImage(WriteableBitmap image, Rect rcImage, Rect rcClip)</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.windows.media.imaging.writeablebitmap">WriteableBitmap</a></td>
      <td><span class="parametername">image</span></td>
      <td><p>The drawing image/bitmap.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td><span class="parametername">rcImage</span></td>
      <td><p>The drawing image/bitmap rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td><span class="parametername">rcClip</span></td>
      <td><p>The drawing clip for image/bitmap rectangle.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_C1WordDocument_DrawImage_" data-uid="C1.WPF.Word.C1WordDocument.DrawImage*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_DrawImage_System_Windows_Media_Imaging_WriteableBitmap_System_Windows_Rect_" data-uid="C1.WPF.Word.C1WordDocument.DrawImage(System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect)">DrawImage(WriteableBitmap, Rect)</h4>
<div class="markdown level1 summary"><p>Draw image/bitmap with content alignment.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void DrawImage(WriteableBitmap image, Rect rc)</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.windows.media.imaging.writeablebitmap">WriteableBitmap</a></td>
      <td><span class="parametername">image</span></td>
      <td><p>The drawing image/bitmap.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td><span class="parametername">rc</span></td>
      <td><p>The drawing rectangle.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_C1WordDocument_DrawImage_" data-uid="C1.WPF.Word.C1WordDocument.DrawImage*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_DrawImage_C1_WPF_Bitmap_C1Bitmap_System_Windows_Rect_System_Windows_Rect_" data-uid="C1.WPF.Word.C1WordDocument.DrawImage(C1.WPF.Bitmap.C1Bitmap,System.Windows.Rect,System.Windows.Rect)">DrawImage(C1Bitmap, Rect, Rect)</h4>
<div class="markdown level1 summary"><p>Draw image/bitmap with content alignment.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void DrawImage(C1Bitmap image, Rect rcImage, Rect rcClip)</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">C1Bitmap</span></td>
      <td><span class="parametername">image</span></td>
      <td><p>The drawing image/bitmap.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td><span class="parametername">rcImage</span></td>
      <td><p>The drawing image/bitmap rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td><span class="parametername">rcClip</span></td>
      <td><p>The drawing clip for image/bitmap rectangle.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
