# GrapeCity.ActiveReports.Web.Designer.ReportDesignerConfiguration.UseReportViewer

## Content

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



<h1 id="GrapeCity_ActiveReports_Web_Designer_ReportDesignerConfiguration_UseReportViewer_" data-uid="GrapeCity.ActiveReports.Web.Designer.ReportDesignerConfiguration.UseReportViewer*">UseReportViewer Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Web_Designer_ReportDesignerConfiguration_UseReportViewer_" data-uid="GrapeCity.ActiveReports.Web.Designer.ReportDesignerConfiguration.UseReportViewer*"></a>
<h4 id="GrapeCity_ActiveReports_Web_Designer_ReportDesignerConfiguration_UseReportViewer_System_Action_GrapeCity_ActiveReports_Web_Viewer_ReportViewerConfiguration__" data-uid="GrapeCity.ActiveReports.Web.Designer.ReportDesignerConfiguration.UseReportViewer(System.Action{GrapeCity.ActiveReports.Web.Viewer.ReportViewerConfiguration})">UseReportViewer(Action&lt;ReportViewerConfiguration&gt;)</h4>
<div class="markdown level1 summary"><p>Configures middleware for the ActiveReports viewer API.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void UseReportViewer(Action&lt;ReportViewerConfiguration&gt; configAction)</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.action-1">Action</a>&lt;<a class="xref" href="../MESCIUS.ActiveReports.Web.Viewer/GrapeCity.ActiveReports.Web.Viewer.ReportViewerConfiguration.html">ReportViewerConfiguration</a>&gt;</td>
      <td><span class="parametername">configAction</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action&lt;T&gt;</a> to configure the report viewer.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
