# GrapeCity.SpreadBuilder.Cells.MergeArea

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_SpreadBuilder_Cells_MergeArea" data-uid="GrapeCity.SpreadBuilder.Cells.MergeArea" class="text-break">MergeArea Struct
</h1>
  <div class="markdown level0 summary"><p>Represents a merged rectangular region of cells.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.SpreadBuilder.Cells.html">GrapeCity.SpreadBuilder.Cells</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.SpreadBuilder.dll</h6>
  <h5 id="GrapeCity_SpreadBuilder_Cells_MergeArea_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct MergeArea</code></pre>
  </div>
  <h5 id="GrapeCity_SpreadBuilder_Cells_MergeArea_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This class is immutable, you cannot change the values once an instance has been initialized. If you want to extend or truncate an existing MergeArea, you need to remove the existing one, and create and add a new one representing the extended or truncated region.</p>
</div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Cells_MergeArea__ctor_System_UInt16_System_UInt16_System_UInt16_System_UInt16_" data-uid="GrapeCity.SpreadBuilder.Cells.MergeArea.#ctor(System.UInt16,System.UInt16,System.UInt16,System.UInt16)">
          <a class="xref" href="GrapeCity.SpreadBuilder.Cells.MergeArea.-ctor.html#GrapeCity_SpreadBuilder_Cells_MergeArea__ctor_System_UInt16_System_UInt16_System_UInt16_System_UInt16_">MergeArea(ushort, ushort, ushort, ushort)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.SpreadBuilder.Cells.MergeArea.html">MergeArea</a> struct with specified cell coordinates, defining a rectangular region to be merged.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Cells_MergeArea_Empty" data-uid="GrapeCity.SpreadBuilder.Cells.MergeArea.Empty">
          <a class="xref" href="GrapeCity.SpreadBuilder.Cells.MergeArea.Empty.html">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Represents an empty merge area.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Cells_MergeArea_SizeOf" data-uid="GrapeCity.SpreadBuilder.Cells.MergeArea.SizeOf">
          <a class="xref" href="GrapeCity.SpreadBuilder.Cells.MergeArea.SizeOf.html">SizeOf</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the size of this data when written to BIFF.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_SpreadBuilder_Cells_MergeArea_ColumnFrom" data-uid="GrapeCity.SpreadBuilder.Cells.MergeArea.ColumnFrom">
          <a class="xref" href="GrapeCity.SpreadBuilder.Cells.MergeArea.ColumnFrom.html#GrapeCity_SpreadBuilder_Cells_MergeArea_ColumnFrom">ColumnFrom</a>
        </td>
        <td class="markdown level1 summary"><p>The leftmost column of the rectangular merged region.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Cells_MergeArea_ColumnTo" data-uid="GrapeCity.SpreadBuilder.Cells.MergeArea.ColumnTo">
          <a class="xref" href="GrapeCity.SpreadBuilder.Cells.MergeArea.ColumnTo.html#GrapeCity_SpreadBuilder_Cells_MergeArea_ColumnTo">ColumnTo</a>
        </td>
        <td class="markdown level1 summary"><p>The rightmost column of the rectangular merged region.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Cells_MergeArea_RowFrom" data-uid="GrapeCity.SpreadBuilder.Cells.MergeArea.RowFrom">
          <a class="xref" href="GrapeCity.SpreadBuilder.Cells.MergeArea.RowFrom.html#GrapeCity_SpreadBuilder_Cells_MergeArea_RowFrom">RowFrom</a>
        </td>
        <td class="markdown level1 summary"><p>The upper row of the rectangular merged region.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Cells_MergeArea_RowTo" data-uid="GrapeCity.SpreadBuilder.Cells.MergeArea.RowTo">
          <a class="xref" href="GrapeCity.SpreadBuilder.Cells.MergeArea.RowTo.html#GrapeCity_SpreadBuilder_Cells_MergeArea_RowTo">RowTo</a>
        </td>
        <td class="markdown level1 summary"><p>The lower row of the rectangular merged region.</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_SpreadBuilder_Cells_MergeArea_ContainsCell_System_Int32_System_Int32_" data-uid="GrapeCity.SpreadBuilder.Cells.MergeArea.ContainsCell(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.SpreadBuilder.Cells.MergeArea.ContainsCell.html#GrapeCity_SpreadBuilder_Cells_MergeArea_ContainsCell_System_Int32_System_Int32_">ContainsCell(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if this MergeArea contains the cell at the specified row &amp; column index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
