# GrapeCity.ActiveReports.Rdl.Import.ReportImporter.ImportRdl

## Content

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



<h1 id="GrapeCity_ActiveReports_Rdl_Import_ReportImporter_ImportRdl_" data-uid="GrapeCity.ActiveReports.Rdl.Import.ReportImporter.ImportRdl*">ImportRdl Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rdl_Import_ReportImporter_ImportRdl_" data-uid="GrapeCity.ActiveReports.Rdl.Import.ReportImporter.ImportRdl*"></a>
<h4 id="GrapeCity_ActiveReports_Rdl_Import_ReportImporter_ImportRdl_System_IO_FileInfo_GrapeCity_ActiveReports_Rdl_Import_ImportOptions_" data-uid="GrapeCity.ActiveReports.Rdl.Import.ReportImporter.ImportRdl(System.IO.FileInfo,GrapeCity.ActiveReports.Rdl.Import.ImportOptions)">ImportRdl(FileInfo, ImportOptions)</h4>
<div class="markdown level1 summary"><p>Deserializes specified RDL file to a Report object using a specified import options.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Report ImportRdl(FileInfo file, ImportOptions options)</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">file</span></td>
      <td><p>The RDL file to be deserialized.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Rdl.Import.ImportOptions.html">ImportOptions</a></td>
      <td><span class="parametername">options</span></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.Rdl.Import.ImportOptions.html">ImportOptions</a> object representing the options to customize the import process.</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.PageReportModel.Report.html">Report</a></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a> object representing the deserialized RDL file.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Rdl_Import_ReportImporter_ImportRdl_" data-uid="GrapeCity.ActiveReports.Rdl.Import.ReportImporter.ImportRdl*"></a>
<h4 id="GrapeCity_ActiveReports_Rdl_Import_ReportImporter_ImportRdl_System_IO_TextReader_GrapeCity_ActiveReports_Rdl_Import_ImportOptions_" data-uid="GrapeCity.ActiveReports.Rdl.Import.ReportImporter.ImportRdl(System.IO.TextReader,GrapeCity.ActiveReports.Rdl.Import.ImportOptions)">ImportRdl(TextReader, ImportOptions)</h4>
<div class="markdown level1 summary"><p>Deserializes specified RDL file to a Report object using a specified import options.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Report ImportRdl(TextReader file, ImportOptions options)</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">file</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.textreader">TextReader</a> object representing the RDL file to be deserialized.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Rdl.Import.ImportOptions.html">ImportOptions</a></td>
      <td><span class="parametername">options</span></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.Rdl.Import.ImportOptions.html">ImportOptions</a> object representing the options to customize the import process.</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.PageReportModel.Report.html">Report</a></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a> object representing the deserialized RDL file.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
