# GrapeCity.ActiveReports.Core.Document.PagesCollection-1.InsertRange

## Content

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



<h1 id="GrapeCity_ActiveReports_Core_Document_PagesCollection_1_InsertRange_" data-uid="GrapeCity.ActiveReports.Core.Document.PagesCollection`1.InsertRange*">InsertRange Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Core_Document_PagesCollection_1_InsertRange_" data-uid="GrapeCity.ActiveReports.Core.Document.PagesCollection`1.InsertRange*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_PagesCollection_1_InsertRange_System_Int32_GrapeCity_ActiveReports_Core_Document_PagesCollection__0__" data-uid="GrapeCity.ActiveReports.Core.Document.PagesCollection`1.InsertRange(System.Int32,GrapeCity.ActiveReports.Core.Document.PagesCollection{`0})">InsertRange(int, PagesCollection&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Inserts the elements from page collections objects into the pages collection at the specified index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void InsertRange(int index, PagesCollection&lt;T&gt; pages)</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">index</span></td>
      <td><p>The index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Document.PagesCollection-1.html">PagesCollection</a>&lt;T&gt;</td>
      <td><span class="parametername">pages</span></td>
      <td><p>The pages collection.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Core_Document_PagesCollection_1_InsertRange_" data-uid="GrapeCity.ActiveReports.Core.Document.PagesCollection`1.InsertRange*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_PagesCollection_1_InsertRange_System_Int32__0___" data-uid="GrapeCity.ActiveReports.Core.Document.PagesCollection`1.InsertRange(System.Int32,`0[])">InsertRange(int, T[])</h4>
<div class="markdown level1 summary"><p>Inserts the elements from an array of page objects into the pages collection at the specified index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void InsertRange(int index, T[] pages)</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">index</span></td>
      <td><p>The index.</p>
</td>
    </tr>
    <tr>
      <td>T[]</td>
      <td><span class="parametername">pages</span></td>
      <td><p>The pages.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
