# GrapeCity.ActiveReports.Web.WebViewer

## Content

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



  <h1 id="GrapeCity_ActiveReports_Web_WebViewer" data-uid="GrapeCity.ActiveReports.Web.WebViewer" class="text-break">WebViewer Class
</h1>
  <div class="markdown level0 summary"><p>Represents the ActiveReports Web Viewer.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.control">Control</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.webcontrols.webcontrol">WebControl</a></div>
    <div class="level3"><span class="xref">WebViewer</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.iparseraccessor">IParserAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.iurlresolutionservice">IUrlResolutionService</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.idatabindingsaccessor">IDataBindingsAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.icontrolbuilderaccessor">IControlBuilderAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.icontroldesigneraccessor">IControlDesignerAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.iexpressionsaccessor">IExpressionsAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.iattributeaccessor">IAttributeAccessor</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Web.html">GrapeCity.ActiveReports.Web</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Web.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Web_WebViewer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(&quot;GrapeCity.ActiveReports.WebResources.WebViewer.bmp&quot;)]
public class WebViewer : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer__ctor" data-uid="GrapeCity.ActiveReports.Web.WebViewer.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.-ctor.html#GrapeCity_ActiveReports_Web_WebViewer__ctor">WebViewer()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.html">WebViewer</a> struct.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_Animation" data-uid="GrapeCity.ActiveReports.Web.WebViewer.Animation">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.Animation.html#GrapeCity_ActiveReports_Web_WebViewer_Animation">Animation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the options for animations.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_AutoBackgroundColor" data-uid="GrapeCity.ActiveReports.Web.WebViewer.AutoBackgroundColor">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.AutoBackgroundColor.html#GrapeCity_ActiveReports_Web_WebViewer_AutoBackgroundColor">AutoBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the view area background color is filled with the report body color.
Available only for dashboard reports.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_AvailableExports" data-uid="GrapeCity.ActiveReports.Web.WebViewer.AvailableExports">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.AvailableExports.html#GrapeCity_ActiveReports_Web_WebViewer_AvailableExports">AvailableExports</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the array of export types available via the export functionality of the viewer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_DefaultExportSettings" data-uid="GrapeCity.ActiveReports.Web.WebViewer.DefaultExportSettings">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.DefaultExportSettings.html#GrapeCity_ActiveReports_Web_WebViewer_DefaultExportSettings">DefaultExportSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the object containing custom default export settings.
Used to set default values and visibility of any field in the export panel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_DisplayMode" data-uid="GrapeCity.ActiveReports.Web.WebViewer.DisplayMode">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.DisplayMode.html#GrapeCity_ActiveReports_Web_WebViewer_DisplayMode">DisplayMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the display mode for showing rendered pages. This is applicable only for 'HtmlViewer' viewer type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_InitialZoomMode" data-uid="GrapeCity.ActiveReports.Web.WebViewer.InitialZoomMode">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.InitialZoomMode.html#GrapeCity_ActiveReports_Web_WebViewer_InitialZoomMode">InitialZoomMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the initial zoom mode.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_InitialZoomPercentage" data-uid="GrapeCity.ActiveReports.Web.WebViewer.InitialZoomPercentage">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.InitialZoomPercentage.html#GrapeCity_ActiveReports_Web_WebViewer_InitialZoomPercentage">InitialZoomPercentage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the initial zoom percentage.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_LocalizationJson" data-uid="GrapeCity.ActiveReports.Web.WebViewer.LocalizationJson">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.LocalizationJson.html#GrapeCity_ActiveReports_Web_WebViewer_LocalizationJson">LocalizationJson</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the URL of a file containing localization strings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_PageView" data-uid="GrapeCity.ActiveReports.Web.WebViewer.PageView">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.PageView.html#GrapeCity_ActiveReports_Web_WebViewer_PageView">PageView</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the options for page view.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_ParametersPanelLocation" data-uid="GrapeCity.ActiveReports.Web.WebViewer.ParametersPanelLocation">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.ParametersPanelLocation.html#GrapeCity_ActiveReports_Web_WebViewer_ParametersPanelLocation">ParametersPanelLocation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the location type of the parameters panel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_ParametersPanelOpen" data-uid="GrapeCity.ActiveReports.Web.WebViewer.ParametersPanelOpen">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.ParametersPanelOpen.html#GrapeCity_ActiveReports_Web_WebViewer_ParametersPanelOpen">ParametersPanelOpen</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the open mode of the parameters panel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_PdfExportOptions" data-uid="GrapeCity.ActiveReports.Web.WebViewer.PdfExportOptions">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.PdfExportOptions.html#GrapeCity_ActiveReports_Web_WebViewer_PdfExportOptions">PdfExportOptions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the PDF export options to be used with the Adobe Acrobat Viewer type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_RenderFormat" data-uid="GrapeCity.ActiveReports.Web.WebViewer.RenderFormat">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.RenderFormat.html#GrapeCity_ActiveReports_Web_WebViewer_RenderFormat">RenderFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rendering format for the report.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_RenderMode" data-uid="GrapeCity.ActiveReports.Web.WebViewer.RenderMode">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.RenderMode.html#GrapeCity_ActiveReports_Web_WebViewer_RenderMode">RenderMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rendering mode.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_Report" data-uid="GrapeCity.ActiveReports.Web.WebViewer.Report">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.Report.html#GrapeCity_ActiveReports_Web_WebViewer_Report">Report</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the report to display to the client.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_ReportItemsStyles" data-uid="GrapeCity.ActiveReports.Web.WebViewer.ReportItemsStyles">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.ReportItemsStyles.html#GrapeCity_ActiveReports_Web_WebViewer_ReportItemsStyles">ReportItemsStyles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the custom CSS styles that will be applied to the report items.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_ReportName" data-uid="GrapeCity.ActiveReports.Web.WebViewer.ReportName">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.ReportName.html#GrapeCity_ActiveReports_Web_WebViewer_ReportName">ReportName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the identifier of the report to be loaded to the viewer control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_ReportService" data-uid="GrapeCity.ActiveReports.Web.WebViewer.ReportService">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.ReportService.html#GrapeCity_ActiveReports_Web_WebViewer_ReportService">ReportService</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the report service settings, like URL and security token.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_ReportsFolder" data-uid="GrapeCity.ActiveReports.Web.WebViewer.ReportsFolder">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.ReportsFolder.html#GrapeCity_ActiveReports_Web_WebViewer_ReportsFolder">ReportsFolder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the path to search for requested report files, which name starts with &quot;file:&quot; prefix.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_ViewerType" data-uid="GrapeCity.ActiveReports.Web.WebViewer.ViewerType">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.ViewerType.html#GrapeCity_ActiveReports_Web_WebViewer_ViewerType">ViewerType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of viewer that will be used to show the report in the client's browser.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_Dispose" data-uid="GrapeCity.ActiveReports.Web.WebViewer.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.Dispose.html#GrapeCity_ActiveReports_Web_WebViewer_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Enables a server control to perform final clean up before it is released from memory.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_OnPreRender_System_EventArgs_" data-uid="GrapeCity.ActiveReports.Web.WebViewer.OnPreRender(System.EventArgs)">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.OnPreRender.html#GrapeCity_ActiveReports_Web_WebViewer_OnPreRender_System_EventArgs_">OnPreRender(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Executes before control rendering and prepares web viewer</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Web_WebViewer_RenderChildren_System_Web_UI_HtmlTextWriter_" data-uid="GrapeCity.ActiveReports.Web.WebViewer.RenderChildren(System.Web.UI.HtmlTextWriter)">
          <a class="xref" href="GrapeCity.ActiveReports.Web.WebViewer.RenderChildren.html#GrapeCity_ActiveReports_Web_WebViewer_RenderChildren_System_Web_UI_HtmlTextWriter_">RenderChildren(HtmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders child controls and generates HTML output for the web viewer</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
