# C1.Web.Api.Report.CustomReportProvider

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Api_Report_CustomReportProvider" data-uid="C1.Web.Api.Report.CustomReportProvider" class="text-break">CustomReportProvider Class
</h1>
  <div class="markdown level0 summary"><p>Represents the custom provider which allows to customize the creation of document.</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="C1.Web.Api.Report.ReportProvider.html">ReportProvider</a></div>
    <div class="level2"><span class="xref">CustomReportProvider</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Api.Report.html">C1.Web.Api.Report</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Api.Report.dll</h6>
  <h5 id="C1_Web_Api_Report_CustomReportProvider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CustomReportProvider : ReportProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CustomReportProvider
    Inherits ReportProvider</code></pre>
  </div>
  <h5 id="C1_Web_Api_Report_CustomReportProvider_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Use this provider to create the document by yourself.</p>
</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="C1_Web_Api_Report_CustomReportProvider__ctor_System_Func_System_String_System_Collections_Specialized_NameValueCollection_C1_Document_C1DocumentSource__System_Func_System_String_System_String_System_Boolean_System_Collections_Specialized_NameValueCollection_C1_Web_Api_Report_Models_CatalogItem__" data-uid="C1.Web.Api.Report.CustomReportProvider.#ctor(System.Func{System.String,System.Collections.Specialized.NameValueCollection,C1.Document.C1DocumentSource},System.Func{System.String,System.String,System.Boolean,System.Collections.Specialized.NameValueCollection,C1.Web.Api.Report.Models.CatalogItem})">
          <a class="xref" href="C1.Web.Api.Report.CustomReportProvider.-ctor.html#C1_Web_Api_Report_CustomReportProvider__ctor_System_Func_System_String_System_Collections_Specialized_NameValueCollection_C1_Document_C1DocumentSource__System_Func_System_String_System_String_System_Boolean_System_Collections_Specialized_NameValueCollection_C1_Web_Api_Report_Models_CatalogItem__">CustomReportProvider(Func&lt;string, NameValueCollection, C1DocumentSource&gt;, Func&lt;string, string, bool, NameValueCollection, CatalogItem&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.Web.Api.Report.CustomReportProvider.html">CustomReportProvider</a> object.</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="C1_Web_Api_Report_CustomReportProvider_CreateDocument_System_String_System_Collections_Specialized_NameValueCollection_" data-uid="C1.Web.Api.Report.CustomReportProvider.CreateDocument(System.String,System.Collections.Specialized.NameValueCollection)">
          <a class="xref" href="C1.Web.Api.Report.CustomReportProvider.CreateDocument.html#C1_Web_Api_Report_CustomReportProvider_CreateDocument_System_String_System_Collections_Specialized_NameValueCollection_">CreateDocument(string, NameValueCollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the document for the specified report path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Api_Report_CustomReportProvider_GetCatalogItem_System_String_System_String_System_Boolean_System_Collections_Specialized_NameValueCollection_" data-uid="C1.Web.Api.Report.CustomReportProvider.GetCatalogItem(System.String,System.String,System.Boolean,System.Collections.Specialized.NameValueCollection)">
          <a class="xref" href="C1.Web.Api.Report.CustomReportProvider.GetCatalogItem.html#C1_Web_Api_Report_CustomReportProvider_GetCatalogItem_System_String_System_String_System_Boolean_System_Collections_Specialized_NameValueCollection_">GetCatalogItem(string, string, bool, NameValueCollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets catalog info of the specified path.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
