# C1.WPF.RichTextBox.EditExtensions.InsertHardLineBreak

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_RichTextBox_EditExtensions_InsertHardLineBreak_" data-uid="C1.WPF.RichTextBox.EditExtensions.InsertHardLineBreak*">InsertHardLineBreak Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_RichTextBox_EditExtensions_InsertHardLineBreak_" data-uid="C1.WPF.RichTextBox.EditExtensions.InsertHardLineBreak*"></a>
<h4 id="C1_WPF_RichTextBox_EditExtensions_InsertHardLineBreak_C1_WPF_RichTextBox_Documents_C1TextPointer_" data-uid="C1.WPF.RichTextBox.EditExtensions.InsertHardLineBreak(C1.WPF.RichTextBox.Documents.C1TextPointer)">InsertHardLineBreak(C1TextPointer)</h4>
<div class="markdown level1 summary"><p>Inserts a hard line break in the position.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static C1TextPointer InsertHardLineBreak(this C1TextPointer position)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function InsertHardLineBreak(position As C1TextPointer) As C1TextPointer</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="C1.WPF.RichTextBox.Documents.C1TextPointer.html">C1TextPointer</a></td>
      <td><span class="parametername">position</span></td>
      <td><p>A <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextPointer.html">C1TextPointer</a> where to insert the hard line break.</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.WPF.RichTextBox.Documents.C1TextPointer.html">C1TextPointer</a></td>
      <td><p>A position at the start of the new paragraph.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WPF_RichTextBox_EditExtensions_InsertHardLineBreak_C1_WPF_RichTextBox_Documents_C1TextPointer__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>A hard line break ends the current block and creates a new <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Paragraph.html">C1Paragraph</a>.</p>
</div>
</div>
