ComponentOne RichTextBox for WPF and Silverlight
InsertHardLineBreak Method (EditExtensions)

C1.WPF.RichTextBox Namespace > EditExtensions Class : InsertHardLineBreak Method
A C1.WPF.RichTextBox.Documents.C1TextPointer where to insert the hard line break.
Inserts a hard line break in the position.
Syntax
'Declaration
 
Public Shared Function InsertHardLineBreak( _
   ByVal position As C1TextPointer _
) As C1TextPointer
public static C1TextPointer InsertHardLineBreak( 
   C1TextPointer position
)

Parameters

position
A C1.WPF.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.WPF.RichTextBox.Documents.C1Paragraph.
See Also

Reference

EditExtensions Class
EditExtensions Members