Inserts text in a document keeping the styles of previous runs in the same block.
Namespace:
C1.Silverlight.RichTextBoxAssembly: C1.Silverlight.RichTextBox (in C1.Silverlight.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.Silverlight.RichTextBox.Documents..::..C1TextPointer
A C1TextPointer where to insert text.
- text
- Type: System..::..String
Text to insert.