# GrapeCity.ActiveReports.Rendering.StyleSheetService.-ctor

## Content

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



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



<a id="GrapeCity_ActiveReports_Rendering_StyleSheetService__ctor_" data-uid="GrapeCity.ActiveReports.Rendering.StyleSheetService.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_StyleSheetService__ctor_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_ActiveReports_ResourceLocator_System_IServiceProvider_GrapeCity_ActiveReports_Core_Rendering_IExpressionEvaluatorService_" data-uid="GrapeCity.ActiveReports.Rendering.StyleSheetService.#ctor(GrapeCity.ActiveReports.PageReportModel.Report,GrapeCity.ActiveReports.ResourceLocator,System.IServiceProvider,GrapeCity.ActiveReports.Core.Rendering.IExpressionEvaluatorService)">StyleSheetService(Report, ResourceLocator, IServiceProvider, IExpressionEvaluatorService)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <span class="xref">GrapeCity.ActiveReports.PageReportModel.StyleSheetService</span> class for specified <a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public StyleSheetService(Report report, ResourceLocator resourceLocator, IServiceProvider serviceProvider, IExpressionEvaluatorService expressionEvaluatorService = 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.Rdl/GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a></td>
      <td><span class="parametername">report</span></td>
      <td><p>Specified <span class="xref">GrapeCity.ActiveReports.Report</span> object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.ResourceLocator.html">ResourceLocator</a></td>
      <td><span class="parametername">resourceLocator</span></td>
      <td><p>Resource locator.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></td>
      <td><span class="parametername">serviceProvider</span></td>
      <td><p>Service provider.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.IExpressionEvaluatorService.html">IExpressionEvaluatorService</a></td>
      <td><span class="parametername">expressionEvaluatorService</span></td>
      <td><p>The expression evaluator service.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
