# FarPoint.Web.Spread.Model.DefaultSheetSpanModel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel" class="text-break">DefaultSheetSpanModel Class
</h1>
  <div class="markdown level0 summary"><p>Represents the full (concrete) implementation of the ISheetSpanModel interface for a span model for a sheet,
which represents cell spans.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSpanModel.html">BaseSheetSpanModel</a></div>
    <div class="level2"><span class="xref">DefaultSheetSpanModel</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISheetSpanModel.html">ISheetSpanModel</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.IRangeSupport.html">IRangeSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.Model.html">FarPoint.Web.Spread.Model</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DefaultSheetSpanModel : BaseSheetSpanModel, ISheetSpanModel, IRangeSupport, ISerializable, ISerializeSupport, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DefaultSheetSpanModel
    Inherits BaseSheetSpanModel
    Implements ISheetSpanModel, IRangeSupport, ISerializable, ISerializeSupport, IEnumerable</code></pre>
  </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="FarPoint_Web_Spread_Model_DefaultSheetSpanModel__ctor" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.-ctor.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel__ctor">DefaultSheetSpanModel()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a default span model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.-ctor.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">DefaultSheetSpanModel(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a default span model from deserialization.</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="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Add_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Add(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Add.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Add_System_Int32_System_Int32_System_Int32_System_Int32_">Add(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a cell span to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Clear" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Clear">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Clear.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all cell spans from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Clear_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Clear(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Clear.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Clear_System_Int32_System_Int32_System_Int32_System_Int32_">Clear(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes cell spans from the collection within the specified area.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Copy_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Copy(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Copy.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Copy_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_">Copy(int, int, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies a cell span and pastes it at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_CopyColumns_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.CopyColumns(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.CopyColumns.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_CopyColumns_System_Int32_System_Int32_System_Int32_">CopyColumns(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies columns and pastes them at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_CopyRows_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.CopyRows(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.CopyRows.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_CopyRows_System_Int32_System_Int32_System_Int32_">CopyRows(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies rows and pastes them at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Deserialize.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the span object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Find_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Find(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Find.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Find_System_Int32_System_Int32_">Find(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Finds the cell span in the collection that includes the cell at specified row and column.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_GetEnumerator" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.GetEnumerator">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.GetEnumerator.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an enumerator for iterating to the next cell span in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_GetEnumerator_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.GetEnumerator(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.GetEnumerator.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_GetEnumerator_System_Int32_System_Int32_System_Int32_System_Int32_">GetEnumerator(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an enumerator for iterating to the next cell span in the collection after the specified span.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.GetObjectData.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates the SerializationInfo class with information about
the default sheet span model settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_IsEmpty" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.IsEmpty">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.IsEmpty.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_IsEmpty">IsEmpty()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the model is empty of cell spans.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Move_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Move(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Move.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Move_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_">Move(int, int, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves a cell span and pastes it at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_MoveColumns_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.MoveColumns(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.MoveColumns.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_MoveColumns_System_Int32_System_Int32_System_Int32_">MoveColumns(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves columns and pastes them at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_MoveRows_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.MoveRows(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.MoveRows.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_MoveRows_System_Int32_System_Int32_System_Int32_">MoveRows(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves rows and pastes them at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Remove_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Remove(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Remove.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Remove_System_Int32_System_Int32_">Remove(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all cell spans in the collection that include the cell at the specified row and column.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Serialize.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the span object to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Swap_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Swap(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.Swap.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_Swap_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_">Swap(int, int, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Swaps cell spans.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_SwapColumns_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.SwapColumns(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.SwapColumns.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_SwapColumns_System_Int32_System_Int32_System_Int32_">SwapColumns(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Swaps a range of columns with another range of columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_DefaultSheetSpanModel_SwapRows_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.SwapRows(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSpanModel.SwapRows.html#FarPoint_Web_Spread_Model_DefaultSheetSpanModel_SwapRows_System_Int32_System_Int32_System_Int32_">SwapRows(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Swaps a range of rows with another range of rows.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
