# C1.WPF.RichTextBox.Documents.C1TextElement.CreateNewElement

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_RichTextBox_Documents_C1TextElement_CreateNewElement_" data-uid="C1.WPF.RichTextBox.Documents.C1TextElement.CreateNewElement*">CreateNewElement Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_RichTextBox_Documents_C1TextElement_CreateNewElement_" data-uid="C1.WPF.RichTextBox.Documents.C1TextElement.CreateNewElement*"></a>
<h4 id="C1_WPF_RichTextBox_Documents_C1TextElement_CreateNewElement" data-uid="C1.WPF.RichTextBox.Documents.C1TextElement.CreateNewElement">CreateNewElement()</h4>
<div class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a> with the same type as this.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual C1TextElement CreateNewElement()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function CreateNewElement() As C1TextElement</code></pre>
</div>
<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.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a></td>
      <td><p>A new <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a> with the same type as this.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WPF_RichTextBox_Documents_C1TextElement_CreateNewElement_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This can be overridden in custom C1TextElement with no default constructors.</p>
</div>
</div>
