ComponentOne RichTextBox for UWP
InsertText Method

C1.Xaml.RichTextBox Namespace > EditExtensions Class : InsertText Method
A C1.Xaml.RichTextBox.Documents.C1TextPointer where to insert text.
Text to insert.
Inserts text in a document keeping the styles of previous runs in the same block.
Syntax
'Declaration
 
Public Shared Function InsertText( _
   ByVal position As C1TextPointer, _
   ByVal text As System.String _
) As C1TextRange
public static C1TextRange InsertText( 
   C1TextPointer position,
   System.string text
)

Parameters

position
A C1.Xaml.RichTextBox.Documents.C1TextPointer where to insert text.
text
Text to insert.

Return Value

The start position of the inserted text.
See Also

Reference

EditExtensions Class
EditExtensions Members