# GrapeCity.Spreadsheet.IFormatConditions.AddDatabar

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_IFormatConditions_AddDatabar_" data-uid="GrapeCity.Spreadsheet.IFormatConditions.AddDatabar*">AddDatabar Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_IFormatConditions_AddDatabar_" data-uid="GrapeCity.Spreadsheet.IFormatConditions.AddDatabar*"></a>
<h4 id="GrapeCity_Spreadsheet_IFormatConditions_AddDatabar" data-uid="GrapeCity.Spreadsheet.IFormatConditions.AddDatabar">AddDatabar()</h4>
<div class="markdown level1 summary"><p>Returns a Databar object representing a data bar conditional formatting rule for the specified range.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IDatabar AddDatabar()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function AddDatabar() As IDatabar</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><a class="xref" href="GrapeCity.Spreadsheet.IDatabar.html">IDatabar</a></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.IDatabar.html">IDatabar</a> object that helps you see the value of a cell relative to other cells.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
