RichTextBox for WinRT
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
'Usage
 
Dim position As C1TextPointer
Dim value As C1TextPointer
 
value = EditExtensions.InsertHardLineBreak(position)
[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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EditExtensions Class
EditExtensions Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback