# GrapeCity.Documents.Word.OMathMatrixRowCollection.Insert

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_OMathMatrixRowCollection_Insert_" data-uid="GrapeCity.Documents.Word.OMathMatrixRowCollection.Insert*">Insert Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_OMathMatrixRowCollection_Insert_" data-uid="GrapeCity.Documents.Word.OMathMatrixRowCollection.Insert*"></a>
<h4 id="GrapeCity_Documents_Word_OMathMatrixRowCollection_Insert_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.OMathMatrixRowCollection.Insert(GrapeCity.Documents.Word.InsertLocation)">Insert(InsertLocation)</h4>
<div class="markdown level1 summary"><p>Inserts a new <a class="xref" href="GrapeCity.Documents.Word.OMathMatrixRow.html">OMathMatrixRow</a> into the collection at the specified location.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public OMathMatrixRow Insert(InsertLocation location)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Insert(location As InsertLocation) As OMathMatrixRow</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="GrapeCity.Documents.Word.InsertLocation.html">InsertLocation</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The target <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html">InsertLocation</a> for the insertion.</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="GrapeCity.Documents.Word.OMathMatrixRow.html">OMathMatrixRow</a></td>
      <td><p>The inserted <a class="xref" href="GrapeCity.Documents.Word.OMathMatrixRow.html">OMathMatrixRow</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_OMathMatrixRowCollection_Insert_" data-uid="GrapeCity.Documents.Word.OMathMatrixRowCollection.Insert*"></a>
<h4 id="GrapeCity_Documents_Word_OMathMatrixRowCollection_Insert_System_String___GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.OMathMatrixRowCollection.Insert(System.String[],GrapeCity.Documents.Word.InsertLocation)">Insert(string[], InsertLocation)</h4>
<div class="markdown level1 summary"><p>Inserts a new <a class="xref" href="GrapeCity.Documents.Word.OMathMatrixRow.html">OMathMatrixRow</a> into the collection at the specified location.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public OMathMatrixRow Insert(string[] cellsText, InsertLocation location)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Insert(cellsText As String(), location As InsertLocation) As OMathMatrixRow</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.string">string</a>[]</td>
      <td><span class="parametername">cellsText</span></td>
      <td><p>The row cells text array.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html">InsertLocation</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The target <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html">InsertLocation</a> for the insertion.</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="GrapeCity.Documents.Word.OMathMatrixRow.html">OMathMatrixRow</a></td>
      <td><p>The inserted <a class="xref" href="GrapeCity.Documents.Word.OMathMatrixRow.html">OMathMatrixRow</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_OMathMatrixRowCollection_Insert_" data-uid="GrapeCity.Documents.Word.OMathMatrixRowCollection.Insert*"></a>
<h4 id="GrapeCity_Documents_Word_OMathMatrixRowCollection_Insert_System_Nullable_System_Int32____GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.OMathMatrixRowCollection.Insert(System.Nullable{System.Int32}[],GrapeCity.Documents.Word.InsertLocation)">Insert(int?[], InsertLocation)</h4>
<div class="markdown level1 summary"><p>Inserts a new <a class="xref" href="GrapeCity.Documents.Word.OMathMatrixRow.html">OMathMatrixRow</a> into the collection at the specified location.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public OMathMatrixRow Insert(int?[] cellsValue, InsertLocation location)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Insert(cellsValue As Integer?(), location As InsertLocation) As OMathMatrixRow</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">cellsValue</span></td>
      <td><p>The row cells value array.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html">InsertLocation</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The target <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html">InsertLocation</a> for the insertion.</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="GrapeCity.Documents.Word.OMathMatrixRow.html">OMathMatrixRow</a></td>
      <td><p>The inserted <a class="xref" href="GrapeCity.Documents.Word.OMathMatrixRow.html">OMathMatrixRow</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
