# FarPoint.Win.Spread.SheetView.SetOutlineBorder

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_SheetView_SetOutlineBorder_" data-uid="FarPoint.Win.Spread.SheetView.SetOutlineBorder*">SetOutlineBorder Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_SheetView_SetOutlineBorder_" data-uid="FarPoint.Win.Spread.SheetView.SetOutlineBorder*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_SetOutlineBorder_FarPoint_Win_Spread_Model_CellRange_FarPoint_Win_IBorder_" data-uid="FarPoint.Win.Spread.SheetView.SetOutlineBorder(FarPoint.Win.Spread.Model.CellRange,FarPoint.Win.IBorder)">SetOutlineBorder(CellRange, IBorder)</h4>
<div class="markdown level1 summary"><p>Sets border outlines for a range of cells.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void SetOutlineBorder(CellRange cr, IBorder border)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub SetOutlineBorder(cr As CellRange, border As IBorder)</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.Spread.Model.CellRange.html">CellRange</a></td>
      <td><span class="parametername">cr</span></td>
      <td><p>Cell range around which to put outline border</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win/FarPoint.Win.IBorder.html">IBorder</a></td>
      <td><span class="parametername">border</span></td>
      <td><p>Border to place around the outside of the range of cells</p>
</td>
    </tr>
  </tbody>
</table>
</div>
