# C1.Win.Document.Forms.OutputRangeForm.CreateForm

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Document_Forms_OutputRangeForm_CreateForm_" data-uid="C1.Win.Document.Forms.OutputRangeForm.CreateForm*">CreateForm Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Document_Forms_OutputRangeForm_CreateForm_" data-uid="C1.Win.Document.Forms.OutputRangeForm.CreateForm*"></a>
<h4 id="C1_Win_Document_Forms_OutputRangeForm_CreateForm_System_Type_System_Type_" data-uid="C1.Win.Document.Forms.OutputRangeForm.CreateForm(System.Type,System.Type)">CreateForm(Type, Type)</h4>
<div class="markdown level1 summary"><p>Creates an instance of the <a class="xref" href="C1.Win.Document.Forms.OutputRangeForm.html">OutputRangeForm</a> or derived type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static OutputRangeForm CreateForm(Type customType, Type defaultType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function CreateForm(customType As Type, defaultType As Type) As OutputRangeForm</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.type">Type</a></td>
      <td><span class="parametername">customType</span></td>
      <td><p>Custom form type or <b>null</b>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">defaultType</span></td>
      <td><p>Default form type.</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><a class="xref" href="C1.Win.Document.Forms.OutputRangeForm.html">OutputRangeForm</a></td>
      <td><p>The newly created <a class="xref" href="C1.Win.Document.Forms.OutputRangeForm.html">OutputRangeForm</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
