# FarPoint.Web.Spread.IPdfSupport.PaintCell

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_IPdfSupport_PaintCell_" data-uid="FarPoint.Web.Spread.IPdfSupport.PaintCell*">PaintCell Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_IPdfSupport_PaintCell_" data-uid="FarPoint.Web.Spread.IPdfSupport.PaintCell*"></a>
<h4 id="FarPoint_Web_Spread_IPdfSupport_PaintCell_FarPoint_PDF_PdfGraphics_System_Drawing_RectangleF_FarPoint_Web_Spread_Appearance_System_Object_System_Boolean_System_Boolean_System_Single_" data-uid="FarPoint.Web.Spread.IPdfSupport.PaintCell(FarPoint.PDF.PdfGraphics,System.Drawing.RectangleF,FarPoint.Web.Spread.Appearance,System.Object,System.Boolean,System.Boolean,System.Single)">PaintCell(PdfGraphics, RectangleF, Appearance, object, bool, bool, float)</h4>
<div class="markdown level1 summary"><p>Paints the cell when not editing, just for PDF.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void PaintCell(PdfGraphics g, RectangleF r, Appearance appearance, object value, bool isSelected, bool isLocked, float zoomFactor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub PaintCell(g As PdfGraphics, r As RectangleF, appearance As Appearance, value As Object, isSelected As Boolean, isLocked As Boolean, zoomFactor As Single)</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">PdfGraphics</span></td>
      <td><span class="parametername">g</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">RectangleF</span></td>
      <td><span class="parametername">r</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.Appearance.html">Appearance</a></td>
      <td><span class="parametername">appearance</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isSelected</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isLocked</span></td>
      <td></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></td>
    </tr>
  </tbody>
</table>
</div>
