# GrapeCity.ActiveReports.Document.Section.DrawCanvas.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Document_Section_DrawCanvas__ctor_" data-uid="GrapeCity.ActiveReports.Document.Section.DrawCanvas.#ctor*">DrawCanvas Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Document_Section_DrawCanvas__ctor_" data-uid="GrapeCity.ActiveReports.Document.Section.DrawCanvas.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Document_Section_DrawCanvas__ctor_GrapeCity_ActiveReports_Core_Document_DeviceInfo_GrapeCity_ActiveReports_Core_Document_ITextLayoutService_GrapeCity_ActiveReports_Core_Document_IImageConverterService_GrapeCity_ActiveReports_Core_Document_Page_" data-uid="GrapeCity.ActiveReports.Document.Section.DrawCanvas.#ctor(GrapeCity.ActiveReports.Core.Document.DeviceInfo,GrapeCity.ActiveReports.Core.Document.ITextLayoutService,GrapeCity.ActiveReports.Core.Document.IImageConverterService,GrapeCity.ActiveReports.Core.Document.Page)">DrawCanvas(DeviceInfo, ITextLayoutService, IImageConverterService, Page)</h4>
<div class="markdown level1 summary"><p>Initializes new instance of <a class="xref" href="GrapeCity.ActiveReports.Document.Section.DrawCanvas.html">DrawCanvas</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 DrawCanvas(DeviceInfo deviceInfo, ITextLayoutService textLayoutService, IImageConverterService imageConverterService, Page page)</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.Core.Document.DeviceInfo.html">DeviceInfo</a></td>
      <td><span class="parametername">deviceInfo</span></td>
      <td><p>The device info.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Document.ITextLayoutService.html">ITextLayoutService</a></td>
      <td><span class="parametername">textLayoutService</span></td>
      <td><p>The text layout service.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Document.IImageConverterService.html">IImageConverterService</a></td>
      <td><span class="parametername">imageConverterService</span></td>
      <td><p>The image converter service.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Document.Page.html">Page</a></td>
      <td><span class="parametername">page</span></td>
      <td><p>The page.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>Throws if any parameter (except device info) is null.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
