# GrapeCity.ActiveReports.Export.Html.Section.OutputHtmlFiles.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Export_Html_Section_OutputHtmlFiles__ctor_" data-uid="GrapeCity.ActiveReports.Export.Html.Section.OutputHtmlFiles.#ctor*">OutputHtmlFiles Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Export_Html_Section_OutputHtmlFiles__ctor_" data-uid="GrapeCity.ActiveReports.Export.Html.Section.OutputHtmlFiles.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Export_Html_Section_OutputHtmlFiles__ctor_System_String_GrapeCity_ActiveReports_Export_Html_Section_HtmlExport_" data-uid="GrapeCity.ActiveReports.Export.Html.Section.OutputHtmlFiles.#ctor(System.String,GrapeCity.ActiveReports.Export.Html.Section.HtmlExport)">OutputHtmlFiles(string, HtmlExport)</h4>
<div class="markdown level1 summary"><p>Initializes an instance of the OutputHtmlFiles class using the specified filePath as the base html page.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public OutputHtmlFiles(string filePath, HtmlExport htmlExport)</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.string">string</a></td>
      <td><span class="parametername">filePath</span></td>
      <td><p>The file path to the main/starting HTML page.
Other file names (such as linked in images and table of contents pages) will use this filepath as a prefix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Export.Html.Section.HtmlExport.html">HtmlExport</a></td>
      <td><span class="parametername">htmlExport</span></td>
      <td><p>The parent <a class="xref" href="GrapeCity.ActiveReports.Export.Html.Section.HtmlExport.html">HtmlExport</a> object this object is working with.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Export_Html_Section_OutputHtmlFiles__ctor_System_String_GrapeCity_ActiveReports_Export_Html_Section_HtmlExport__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When this class is created, it demands permission to write files in the parent folder of the specified file.<br>
If permision is not granted, a SecurityException will be thrown.</p>
</div>
</div>
