RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1TextRange Class / Text Property

In This Topic
    Text Property (C1TextRange)
    In This Topic
    Gets or sets the text in the range.
    Syntax
    'Declaration
     
    
    Public Property Text As String
    public string Text {get; set;}
    Remarks

    When setting the range text, all line breaks (\n, \r and \r\n) are converted to a single new line character (\n).

    Content that is not text, like images, is transformed to the ObjectReplacementCharacter.

    See Also