CentralServerDemo.ExRichTextBox.AppendRtf C# (CSharp) Method

AppendRtf() public method

Assumes the string passed as a paramter is valid RTF text and attempts to append it as RTF to the content of the control.
public AppendRtf ( string _rtf ) : void
_rtf string
return void
        public void AppendRtf(string _rtf) {

            // Move caret to the end of the text
            this.Select(this.TextLength, 0);

            // Since SelectedRtf is null, this will append the string to the
            // end of the existing RTF
            this.SelectedRtf = _rtf;
        }