# FarPoint.Win.Spread.SheetView.GetSelections

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_SheetView_GetSelections_" data-uid="FarPoint.Win.Spread.SheetView.GetSelections*">GetSelections Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_SheetView_GetSelections_" data-uid="FarPoint.Win.Spread.SheetView.GetSelections*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_GetSelections" data-uid="FarPoint.Win.Spread.SheetView.GetSelections">GetSelections()</h4>
<div class="markdown level1 summary"><p>Gets an ordered array of <a class="xref" href="FarPoint.Win.Spread.Model.CellRange.html">CellRange</a> objects, from largest to smallest,
that contain the selected cells on the sheet with minimal overlap between the ranges.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellRange[] GetSelections()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetSelections() As CellRange()</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="FarPoint.Win.Spread.Model.CellRange.html">CellRange</a>[]</td>
      <td><p>An ordered array of <a class="xref" href="FarPoint.Win.Spread.Model.CellRange.html">CellRange</a> objects</p>
</td>
    </tr>
  </tbody>
</table>
</div>
