# GrapeCity.ActiveReports.Export.Html.IOutputHtml.OutputHtmlData

## Content

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



<h1 id="GrapeCity_ActiveReports_Export_Html_IOutputHtml_OutputHtmlData_" data-uid="GrapeCity.ActiveReports.Export.Html.IOutputHtml.OutputHtmlData*">OutputHtmlData Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Export_Html_IOutputHtml_OutputHtmlData_" data-uid="GrapeCity.ActiveReports.Export.Html.IOutputHtml.OutputHtmlData*"></a>
<h4 id="GrapeCity_ActiveReports_Export_Html_IOutputHtml_OutputHtmlData_GrapeCity_ActiveReports_Export_Html_HtmlOutputInfoArgs_" data-uid="GrapeCity.ActiveReports.Export.Html.IOutputHtml.OutputHtmlData(GrapeCity.ActiveReports.Export.Html.HtmlOutputInfoArgs)">OutputHtmlData(HtmlOutputInfoArgs)</h4>
<div class="markdown level1 summary"><p>OutputHtmlData will be called by the HtmlExport class to output data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">string OutputHtmlData(HtmlOutputInfoArgs info)</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="GrapeCity.ActiveReports.Export.Html.HtmlOutputInfoArgs.html">HtmlOutputInfoArgs</a></td>
      <td><span class="parametername">info</span></td>
      <td><p>Information about the output</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>The implementation of OutputHtmlData should use the data passed in the info argument and store it as the implentator requires.<br>
The return value should be a &quot;file name&quot; that the calling HtmlExport class can use to place links in the main HTML page to the data.
For example, as an HTML page is being created and an image is encountered that will be outputed as an HTML <em>img</em> the HtmlExport object will call this method to provide the data to the implentor, and the return value from OutputHtmlData (i.e. the filename) will be used as the <em>src</em> attribute's value.
When the HTML page is ready, OutputHtmlData will be called again to pass the actual HTML page's data, in this case the filename returned by the OutputHtmlData implementation will not be used.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
