Inserts text in a document keeping the styles of previous runs in the same block.

Namespace:  C1.Phone.RichTextBox
Assembly:  C1.Phone.RichTextBox (in C1.Phone.RichTextBox.dll)

Syntax

C#
public static C1TextRange InsertText(
	C1TextPointer position,
	string text
)
Visual Basic
Public Shared Function InsertText ( _
	position As C1TextPointer, _
	text As String _
) As C1TextRange

Parameters

position
Type: C1.Phone.RichTextBox.Documents..::..C1TextPointer
A C1TextPointer where to insert text.
text
Type: System..::..String
Text to insert.

Return Value

The start position of the inserted text.

See Also