# GrapeCity.ActiveReports.Document.Section.Document.Filters.FilteredDocumentFactory.FilterByPageRange

## Content

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



<h1 id="GrapeCity_ActiveReports_Document_Section_Document_Filters_FilteredDocumentFactory_FilterByPageRange_" data-uid="GrapeCity.ActiveReports.Document.Section.Document.Filters.FilteredDocumentFactory.FilterByPageRange*">FilterByPageRange Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Document_Section_Document_Filters_FilteredDocumentFactory_FilterByPageRange_" data-uid="GrapeCity.ActiveReports.Document.Section.Document.Filters.FilteredDocumentFactory.FilterByPageRange*"></a>
<h4 id="GrapeCity_ActiveReports_Document_Section_Document_Filters_FilteredDocumentFactory_FilterByPageRange_GrapeCity_ActiveReports_Document_Section_Document_Filters_IFilteredDocument_System_String_" data-uid="GrapeCity.ActiveReports.Document.Section.Document.Filters.FilteredDocumentFactory.FilterByPageRange(GrapeCity.ActiveReports.Document.Section.Document.Filters.IFilteredDocument,System.String)">FilterByPageRange(IFilteredDocument, string)</h4>
<div class="markdown level1 summary"><p>Filters the by page range.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IFilteredDocument FilterByPageRange(this IFilteredDocument document, string range)</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.ActiveReports.Document.Section.Document.Filters.IFilteredDocument.html">IFilteredDocument</a></td>
      <td><span class="parametername">document</span></td>
      <td><p>The document.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>The range.</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.ActiveReports.Document.Section.Document.Filters.IFilteredDocument.html">IFilteredDocument</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Document_Section_Document_Filters_FilteredDocumentFactory_FilterByPageRange_" data-uid="GrapeCity.ActiveReports.Document.Section.Document.Filters.FilteredDocumentFactory.FilterByPageRange*"></a>
<h4 id="GrapeCity_ActiveReports_Document_Section_Document_Filters_FilteredDocumentFactory_FilterByPageRange_GrapeCity_ActiveReports_Document_Section_Document_Filters_IFilteredDocument_System_String_System_Collections_Generic_IDictionary_System_Int32_System_Int32__" data-uid="GrapeCity.ActiveReports.Document.Section.Document.Filters.FilteredDocumentFactory.FilterByPageRange(GrapeCity.ActiveReports.Document.Section.Document.Filters.IFilteredDocument,System.String,System.Collections.Generic.IDictionary{System.Int32,System.Int32})">FilterByPageRange(IFilteredDocument, string, IDictionary&lt;int, int&gt;)</h4>
<div class="markdown level1 summary"><p>Get filtered document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IFilteredDocument FilterByPageRange(this IFilteredDocument document, string range, IDictionary&lt;int, int&gt; pagesMap)</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.ActiveReports.Document.Section.Document.Filters.IFilteredDocument.html">IFilteredDocument</a></td>
      <td><span class="parametername">document</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">range</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>&gt;</td>
      <td><span class="parametername">pagesMap</span></td>
      <td><p>The map to fill with the pages map which point the source page number to the page index in the filtered collection.</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.ActiveReports.Document.Section.Document.Filters.IFilteredDocument.html">IFilteredDocument</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
