# GrapeCity.ActiveReports.Document.PageRangeParser.FilterByRange

## Content

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



<h1 id="GrapeCity_ActiveReports_Document_PageRangeParser_FilterByRange_" data-uid="GrapeCity.ActiveReports.Document.PageRangeParser.FilterByRange*">FilterByRange Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Document_PageRangeParser_FilterByRange_" data-uid="GrapeCity.ActiveReports.Document.PageRangeParser.FilterByRange*"></a>
<h4 id="GrapeCity_ActiveReports_Document_PageRangeParser_FilterByRange_GrapeCity_ActiveReports_Core_Document_IPagesCollection_GrapeCity_ActiveReports_Document_Section_Page__System_String_System_Collections_Generic_IDictionary_System_Int32_System_Int32__" data-uid="GrapeCity.ActiveReports.Document.PageRangeParser.FilterByRange(GrapeCity.ActiveReports.Core.Document.IPagesCollection{GrapeCity.ActiveReports.Document.Section.Page},System.String,System.Collections.Generic.IDictionary{System.Int32,System.Int32})">FilterByRange(IPagesCollection&lt;Page&gt;, string, IDictionary&lt;int, int&gt;)</h4>
<div class="markdown level1 summary"><p>Parses the ActiveReports style comma delimited &quot;page range&quot; string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IEnumerable&lt;Page&gt; FilterByRange(this IPagesCollection&lt;Page&gt; pages, string range, IDictionary&lt;int, int&gt; pagesMap = null)</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="../MESCIUS.ActiveReports.Core.Document/GrapeCity.ActiveReports.Core.Document.IPagesCollection-1.html">IPagesCollection</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Document.Section.Page.html">Page</a>&gt;</td>
      <td><span class="parametername">pages</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></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="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Document.Section.Page.html">Page</a>&gt;</td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
