# GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase.GetErrorIconBound

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_InputManCellTypeBase_GetErrorIconBound_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase.GetErrorIconBound*">GetErrorIconBound Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_InputManCellTypeBase_GetErrorIconBound_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase.GetErrorIconBound*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_InputManCellTypeBase_GetErrorIconBound_System_Drawing_Graphics_FarPoint_Win_Spread_Appearance_System_Drawing_Rectangle_System_Single_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase.GetErrorIconBound(System.Drawing.Graphics,FarPoint.Win.Spread.Appearance,System.Drawing.Rectangle,System.Single)">GetErrorIconBound(Graphics, Appearance, Rectangle, float)</h4>
<div class="markdown level1 summary"><p>Gets a rectangle to draw an error icon in.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override Rectangle GetErrorIconBound(Graphics g, Appearance appearance, Rectangle cellRectangle, float zoomFactor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Function GetErrorIconBound(g As Graphics, appearance As Appearance, cellRectangle As Rectangle, zoomFactor As Single) As Rectangle</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.graphics">Graphics</a></td>
      <td><span class="parametername">g</span></td>
      <td><p>A Graphichs object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Spread/FarPoint.Win.Spread.Appearance.html">Appearance</a></td>
      <td><span class="parametername">appearance</span></td>
      <td><p>Appearance settings</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">cellRectangle</span></td>
      <td><p>Rectangle to paint cell</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>Zoomfactor setting</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><p>A rectangle</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../FarPoint.Win.Spread/FarPoint.Win.Spread.CellType.BaseCellType.GetErrorIconBound.html#FarPoint_Win_Spread_CellType_BaseCellType_GetErrorIconBound_System_Drawing_Graphics_FarPoint_Win_Spread_Appearance_System_Drawing_Rectangle_System_Single_">BaseCellType.GetErrorIconBound(Graphics, Appearance, Rectangle, float)</a></div>
</div>
