[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.EditExtensions.InsertText

InsertText Method

InsertText(C1TextPointer, string)

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

Declaration
public static C1TextRange InsertText(C1TextPointer position, string text)
Public Shared Function InsertText(position As C1TextPointer, text As String) As C1TextRange
Parameters
Type Name Description
C1TextPointer position

A C1TextPointer where to insert text.

string text

Text to insert.

Returns
Type Description
C1TextRange

The start position of the inserted text.