# GrapeCity.Spreadsheet.Printing.IMergeCellSupport.FindMergedCell

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Printing_IMergeCellSupport_FindMergedCell_" data-uid="GrapeCity.Spreadsheet.Printing.IMergeCellSupport.FindMergedCell*">FindMergedCell Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Printing_IMergeCellSupport_FindMergedCell_" data-uid="GrapeCity.Spreadsheet.Printing.IMergeCellSupport.FindMergedCell*"></a>
<h4 id="GrapeCity_Spreadsheet_Printing_IMergeCellSupport_FindMergedCell_GrapeCity_Spreadsheet_Worksheet_System_Int32_System_Int32_GrapeCity_Spreadsheet_Reference__System_Boolean__" data-uid="GrapeCity.Spreadsheet.Printing.IMergeCellSupport.FindMergedCell(GrapeCity.Spreadsheet.Worksheet,System.Int32,System.Int32,GrapeCity.Spreadsheet.Reference@,System.Boolean@)">FindMergedCell(Worksheet, int, int, out Reference, out bool)</h4>
<div class="markdown level1 summary"><p>Find the merge cell data from cells[row, column].</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool FindMergedCell(Worksheet worksheet, int row, int column, out Reference mergedCell, out bool isAutoMergeCell)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function FindMergedCell(worksheet As Worksheet, row As Integer, column As Integer, ByRef mergedCell As Reference, ByRef isAutoMergeCell As Boolean) As Boolean</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><span class="xref">Worksheet</span></td>
      <td><span class="parametername">worksheet</span></td>
      <td><p>A worksheet.</p>
</td>
    </tr>
    <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>The index of row</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>The index of colunn</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.Reference.html">Reference</a></td>
      <td><span class="parametername">mergedCell</span></td>
      <td><p>A reference of merged cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isAutoMergeCell</span></td>
      <td><p><code>true</code> if is auto merge 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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> if exist a mergecell, <code>false</code> otherwise, false.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
