Inserts a hard line break in the position.
Namespace:
C1.Silverlight.RichTextBoxAssembly: C1.Silverlight.RichTextBox (in C1.Silverlight.RichTextBox.dll)
Syntax
C# |
---|
public static C1TextPointer InsertHardLineBreak( this C1TextPointer position ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function InsertHardLineBreak ( _ position As C1TextPointer _ ) As C1TextPointer |
Parameters
- position
- Type: C1.Silverlight.RichTextBox.Documents..::..C1TextPointer
A 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 C1Paragraph.