# C1.C1Preview.PageDrawParams.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_PageDrawParams__ctor_" data-uid="C1.C1Preview.PageDrawParams.#ctor*">PageDrawParams Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_PageDrawParams__ctor_" data-uid="C1.C1Preview.PageDrawParams.#ctor*"></a>
<h4 id="C1_C1Preview_PageDrawParams__ctor_System_Nullable_System_Drawing_Imaging_EmfType__System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Nullable_System_Drawing_Drawing2D_SmoothingMode__" data-uid="C1.C1Preview.PageDrawParams.#ctor(System.Nullable{System.Drawing.Imaging.EmfType},System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Nullable{System.Drawing.Drawing2D.SmoothingMode})">PageDrawParams(EmfType?, bool, bool, bool, bool, SmoothingMode?)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PageDrawParams(EmfType? emfType, bool whiten, bool renderInputControls, bool useGdiToDrawLinesWhenPossible, bool writeMetafileComments, SmoothingMode? smoothingMode)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(emfType As EmfType?, whiten As Boolean, renderInputControls As Boolean, useGdiToDrawLinesWhenPossible As Boolean, writeMetafileComments As Boolean, smoothingMode As SmoothingMode?)</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.drawing.imaging.emftype">EmfType</a>?</td>
      <td><span class="parametername">emfType</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">whiten</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">renderInputControls</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">useGdiToDrawLinesWhenPossible</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">writeMetafileComments</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.drawing2d.smoothingmode">SmoothingMode</a>?</td>
      <td><span class="parametername">smoothingMode</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
