# GrapeCity.Documents.Excel.IBorders

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_IBorders" data-uid="GrapeCity.Documents.Excel.IBorders" class="text-break">IBorders Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of four <a class="xref" href="GrapeCity.Documents.Excel.IBorder.html">IBorder</a> objects that represent the four borders of an <a class="xref" href="GrapeCity.Documents.Excel.IRange.html">IRange</a> or <a class="xref" href="GrapeCity.Documents.Excel.IStyle.html">IStyle</a> object.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_IBorders_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IBorders</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IBorders</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Excel_IBorders_Color" data-uid="GrapeCity.Documents.Excel.IBorders.Color">
          <a class="xref" href="GrapeCity.Documents.Excel.IBorders.Color.html#GrapeCity_Documents_Excel_IBorders_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="GrapeCity.Documents.Excel.IBorders.Color.html#GrapeCity_Documents_Excel_IBorders_Color">Color</a> of the <a class="xref" href="GrapeCity.Documents.Excel.IBorder.html">IBorder</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IBorders_ColorIndex" data-uid="GrapeCity.Documents.Excel.IBorders.ColorIndex">
          <a class="xref" href="GrapeCity.Documents.Excel.IBorders.ColorIndex.html#GrapeCity_Documents_Excel_IBorders_ColorIndex">ColorIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of all four borders.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IBorders_Count" data-uid="GrapeCity.Documents.Excel.IBorders.Count">
          <a class="xref" href="GrapeCity.Documents.Excel.IBorders.Count.html#GrapeCity_Documents_Excel_IBorders_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number of objects in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IBorders_Item_GrapeCity_Documents_Excel_BordersIndex_" data-uid="GrapeCity.Documents.Excel.IBorders.Item(GrapeCity.Documents.Excel.BordersIndex)">
          <a class="xref" href="GrapeCity.Documents.Excel.IBorders.Item.html#GrapeCity_Documents_Excel_IBorders_Item_GrapeCity_Documents_Excel_BordersIndex_">this[BordersIndex]</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the <a class="xref" href="GrapeCity.Documents.Excel.IBorder.html">IBorder</a> object from a collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IBorders_LineStyle" data-uid="GrapeCity.Documents.Excel.IBorders.LineStyle">
          <a class="xref" href="GrapeCity.Documents.Excel.IBorders.LineStyle.html#GrapeCity_Documents_Excel_IBorders_LineStyle">LineStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the line style for the border.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IBorders_ThemeColor" data-uid="GrapeCity.Documents.Excel.IBorders.ThemeColor">
          <a class="xref" href="GrapeCity.Documents.Excel.IBorders.ThemeColor.html#GrapeCity_Documents_Excel_IBorders_ThemeColor">ThemeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the theme color in the applied color scheme that is associated with the specified object. The <a class="xref" href="GrapeCity.Documents.Excel.ThemeColor.html">ThemeColor</a> value is read or write.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IBorders_TintAndShade" data-uid="GrapeCity.Documents.Excel.IBorders.TintAndShade">
          <a class="xref" href="GrapeCity.Documents.Excel.IBorders.TintAndShade.html#GrapeCity_Documents_Excel_IBorders_TintAndShade">TintAndShade</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that lightens or darkens a color.
The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Excel_IBorders_Clear" data-uid="GrapeCity.Documents.Excel.IBorders.Clear">
          <a class="xref" href="GrapeCity.Documents.Excel.IBorders.Clear.html#GrapeCity_Documents_Excel_IBorders_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clear the borders.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
