ComponentOne RichTextBox for UWP
InsertHardLineBreak Method

C1.Xaml.RichTextBox Namespace > EditExtensions Class : InsertHardLineBreak Method
A C1.Xaml.RichTextBox.Documents.C1TextPointer where to insert the hard line break.
Inserts a hard line break in the position.
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Function InsertHardLineBreak( _
   ByVal position As C1TextPointer _
) As C1TextPointer
[System.Runtime.CompilerServices.Extension()]
public static C1TextPointer InsertHardLineBreak( 
   C1TextPointer position
)

Parameters

position
A C1.Xaml.RichTextBox.Documents.C1TextPointer where to insert the hard line break.

Return Value

A position at the start of the new paragraph.
Remarks
A hard line break ends the current block and creates a new C1.Xaml.RichTextBox.Documents.C1Paragraph.
See Also

Reference

EditExtensions Class
EditExtensions Members