[]
        
(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)
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.