# FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint_" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint*">BitmapPaint Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint_" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint*"></a>
<h4 id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint">BitmapPaint()</h4>
<div class="markdown level1 summary"><p>Paints a bitmap.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Bitmap BitmapPaint()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function BitmapPaint() As Bitmap</code></pre>
</div>
<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">Bitmap</span></td>
      <td><p>The image as a bitmap in the specified rectangle</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint_" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint*"></a>
<h4 id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint_FarPoint_Win_Picture_" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint(FarPoint.Win.Picture)">BitmapPaint(Picture)</h4>
<div class="markdown level1 summary"><p>Paints the specified background image as a bitmap.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Bitmap BitmapPaint(Picture imgBackground)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function BitmapPaint(imgBackground As Picture) As Bitmap</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="../FarPoint.Win/FarPoint.Win.Picture.html">Picture</a></td>
      <td><span class="parametername">imgBackground</span></td>
      <td><p>Background image</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">Bitmap</span></td>
      <td><p>The image as a bitmap in the specified rectangle</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint_" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint*"></a>
<h4 id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint_FarPoint_Win_Picture_System_Single_" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint(FarPoint.Win.Picture,System.Single)">BitmapPaint(Picture, float)</h4>
<div class="markdown level1 summary"><p>Paints the specified background image as a bitmap with the specified scaling.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Bitmap BitmapPaint(Picture imgBackground, float zoomFactor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function BitmapPaint(imgBackground As Picture, zoomFactor As Single) As Bitmap</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="../FarPoint.Win/FarPoint.Win.Picture.html">Picture</a></td>
      <td><span class="parametername">imgBackground</span></td>
      <td><p>Background image</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">zoomFactor</span></td>
      <td><p>Numeric value for scaling the display of the image</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">Bitmap</span></td>
      <td><p>The image as a bitmap in the specified rectangle</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint_" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint*"></a>
<h4 id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint_FarPoint_Win_Picture_System_Drawing_Rectangle_" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint(FarPoint.Win.Picture,System.Drawing.Rectangle)">BitmapPaint(Picture, Rectangle)</h4>
<div class="markdown level1 summary"><p>Paints the specified background image as a bitmap in the specified rectangle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Bitmap BitmapPaint(Picture imgBackground, Rectangle r)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function BitmapPaint(imgBackground As Picture, r As Rectangle) As Bitmap</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="../FarPoint.Win/FarPoint.Win.Picture.html">Picture</a></td>
      <td><span class="parametername">imgBackground</span></td>
      <td><p>Background image</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">r</span></td>
      <td><p>Boundary rectangle</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">Bitmap</span></td>
      <td><p>The image as a bitmap in the specified rectangle</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint_" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint*"></a>
<h4 id="FarPoint_Win_Spread_CellType_RichTextEditor_BitmapPaint_FarPoint_Win_Picture_System_Drawing_Rectangle_System_Single_" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint(FarPoint.Win.Picture,System.Drawing.Rectangle,System.Single)">BitmapPaint(Picture, Rectangle, float)</h4>
<div class="markdown level1 summary"><p>Paints the specified background image as a bitmap in the specified rectangle
with the specified scaling.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Bitmap BitmapPaint(Picture imgBackground, Rectangle r, float zoomFactor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function BitmapPaint(imgBackground As Picture, r As Rectangle, zoomFactor As Single) As Bitmap</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="../FarPoint.Win/FarPoint.Win.Picture.html">Picture</a></td>
      <td><span class="parametername">imgBackground</span></td>
      <td><p>Background image</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">r</span></td>
      <td><p>Boundary rectangle</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">zoomFactor</span></td>
      <td><p>Numeric value for scaling the display of the image</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">Bitmap</span></td>
      <td><p>The image as a bitmap in the specified rectangle</p>
</td>
    </tr>
  </tbody>
</table>
</div>
