# GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.CreateRenderer

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Common_Internal_BaseApplicationContext_CreateRenderer_" data-uid="GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.CreateRenderer*">CreateRenderer Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Common_Internal_BaseApplicationContext_CreateRenderer_" data-uid="GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.CreateRenderer*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Common_Internal_BaseApplicationContext_CreateRenderer_GrapeCity_Viewer_Common_Model_DocumentModel_" data-uid="GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.CreateRenderer(GrapeCity.Viewer.Common.Model.DocumentModel)">CreateRenderer(DocumentModel)</h4>
<div class="markdown level1 summary"><p>Returns implementation of GraphicsDocumentRenderer</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IDocumentRenderer CreateRenderer(DocumentModel document)</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><span class="xref">DocumentModel</span></td>
      <td><span class="parametername">document</span></td>
      <td></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><span class="xref">IDocumentRenderer</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Viewer_Common_Internal_BaseApplicationContext_CreateRenderer_" data-uid="GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.CreateRenderer*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Common_Internal_BaseApplicationContext_CreateRenderer_GrapeCity_Viewer_Common_Model_DocumentModel_GrapeCity_Viewer_Common_DeviceKind_" data-uid="GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.CreateRenderer(GrapeCity.Viewer.Common.Model.DocumentModel,GrapeCity.Viewer.Common.DeviceKind)">CreateRenderer(DocumentModel, DeviceKind)</h4>
<div class="markdown level1 summary"><p>Creates the renderer for specific document considering the specific target device kind.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IDocumentRenderer CreateRenderer(DocumentModel document, DeviceKind device)</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><span class="xref">DocumentModel</span></td>
      <td><span class="parametername">document</span></td>
      <td><p>The document model.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">DeviceKind</span></td>
      <td><span class="parametername">device</span></td>
      <td><p>The target device kind.</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><span class="xref">IDocumentRenderer</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
