Mihaescu Florin
Mihaescu Florin

Reputation: 31

Append text on rtf string at position

I want to append text, for example "World" in a textbox, but not with the Windows.Forms functions for RichTextBox. Instead i want to specify position and the string that i want to insert into Rtf property of the RichTextBox! So, is it possible to update the rtf string directly ?

Upvotes: 2

Views: 969

Answers (1)

John Arlen
John Arlen

Reputation: 6689

string rtfStuffs = this.richTextBox1.Rtf;
// Edit as you see fit...
this.richTextBox1.Rtf = rtfStuffs;

Upvotes: 1

Related Questions