# C1.WPF.Word.DrawingElementEventArgs.-ctor

## Content

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



<h1 id="C1_WPF_Word_DrawingElementEventArgs__ctor_" data-uid="C1.WPF.Word.DrawingElementEventArgs.#ctor*">DrawingElementEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Word_DrawingElementEventArgs__ctor_" data-uid="C1.WPF.Word.DrawingElementEventArgs.#ctor*"></a>
<h4 id="C1_WPF_Word_DrawingElementEventArgs__ctor_System_Windows_FrameworkElement_System_Windows_FrameworkElement_System_Windows_Rect_System_Windows_Media_Transform_" data-uid="C1.WPF.Word.DrawingElementEventArgs.#ctor(System.Windows.FrameworkElement,System.Windows.FrameworkElement,System.Windows.Rect,System.Windows.Media.Transform)">DrawingElementEventArgs(FrameworkElement, FrameworkElement, Rect, Transform)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Word.DrawingElementEventArgs.html">DrawingElementEventArgs</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DrawingElementEventArgs(FrameworkElement e, FrameworkElement root, Rect bounds, Transform documentTransform)</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.windows.frameworkelement">FrameworkElement</a></td>
      <td><span class="parametername">e</span></td>
      <td><p>Element being rendered.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></td>
      <td><span class="parametername">root</span></td>
      <td><p>Root of the element being rendered.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td><span class="parametername">bounds</span></td>
      <td><p>Coordinates, in logical pixels, of the element being rendered.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.transform">Transform</a></td>
      <td><span class="parametername">documentTransform</span></td>
      <td><p>Transform between logical pixels and PDF page units (points).</p>
</td>
    </tr>
  </tbody>
</table>
</div>
