# FarPoint.Win.Spread.Cells.Get

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Cells_Get_" data-uid="FarPoint.Win.Spread.Cells.Get*">Get Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Cells_Get_" data-uid="FarPoint.Win.Spread.Cells.Get*"></a>
<h4 id="FarPoint_Win_Spread_Cells_Get_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.Cells.Get(System.Int32,System.Int32)">Get(int, int)</h4>
<div class="markdown level1 summary"><p>Gets a new Cell object for the specified row and column.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Cell Get(int row, int column)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function [Get](row As Integer, column As Integer) As Cell</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.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Row index of cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Column index of cell</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="FarPoint.Win.Spread.Cell.html">Cell</a></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.Cell.html">Cell</a> at the special row, column.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified row index is not valid; must be between zero and the total number of rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified column index is not valid; must be between zero and the total number of columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified row index is not valid; must be between zero and the total number of column header rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified column index is not valid; must be between zero and the total number of row header columns</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Cells_Get_" data-uid="FarPoint.Win.Spread.Cells.Get*"></a>
<h4 id="FarPoint_Win_Spread_Cells_Get_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.Cells.Get(System.Int32,System.Int32,System.Int32,System.Int32)">Get(int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Gets a new Cell object for the range of cells of the specified rows and columns.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Cell Get(int row, int column, int row2, int column2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function [Get](row As Integer, column As Integer, row2 As Integer, column2 As Integer) As Cell</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.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Starting row index of range of cells</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Starting column index of range of cells</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row2</span></td>
      <td><p>Ending row index of range of cells</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column2</span></td>
      <td><p>Ending column index of range of cells</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="FarPoint.Win.Spread.Cell.html">Cell</a></td>
      <td><p>A range of cells at the special rows, columns</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified row or column index is less than 0 or greater than or equal to the row count or column count.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified starting row index is not valid; must be between zero and the total number of rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified starting column index is not valid; must be between zero and the total number of columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified starting row index is not valid; must be between zero and the total number of column header rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified starting column index is not valid; must be between zero and the total number of row header columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified ending row index is not valid; must be between zero and the total number of rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified ending column index is not valid; must be between zero and the total number of columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified ending row index is not valid; must be between zero and the total number of column header rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified ending column index is not valid; must be between zero and the total number of row header columns</p>
</td>
    </tr>
  </tbody>
</table>
</div>
