# GrapeCity.ActiveReports.PageReport.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_PageReport__ctor_" data-uid="GrapeCity.ActiveReports.PageReport.#ctor*">PageReport Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReport__ctor_" data-uid="GrapeCity.ActiveReports.PageReport.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_PageReport__ctor" data-uid="GrapeCity.ActiveReports.PageReport.#ctor">PageReport()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the PageReport class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PageReport()</code></pre>
</div>


<a id="GrapeCity_ActiveReports_PageReport__ctor_" data-uid="GrapeCity.ActiveReports.PageReport.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_PageReport__ctor_System_IO_FileInfo_" data-uid="GrapeCity.ActiveReports.PageReport.#ctor(System.IO.FileInfo)">PageReport(FileInfo)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the PageReport class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PageReport(FileInfo reportDefinitionFile)</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.io.fileinfo">FileInfo</a></td>
      <td><span class="parametername">reportDefinitionFile</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.fileinfo">FileInfo</a> information about a file path.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.Rdl.Persistence.PersistenceException.html">PersistenceException</a></td>
      <td><p>Thrown if the report definition cannot be loaded.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.ReportException.html">ReportException</a></td>
      <td><p>Thrown if the specified file does not appear to be a properly formatted RDLX file, or if the report definition has the wrong xmlns specified.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_PageReport__ctor_" data-uid="GrapeCity.ActiveReports.PageReport.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_PageReport__ctor_System_IO_TextReader_" data-uid="GrapeCity.ActiveReports.PageReport.#ctor(System.IO.TextReader)">PageReport(TextReader)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the PageReport class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PageReport(TextReader reportDefinitionReader)</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.io.textreader">TextReader</a></td>
      <td><span class="parametername">reportDefinitionReader</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.textreader">TextReader</a> to access the content of the report.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
