Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在文本框中附加文本,例如“世界”,但不Windows.Forms使用RichTextBox. 相反,我想指定位置和要插入到 Rtf 属性中的字符串RichTextBox!那么,是否可以直接更新 rtf 字符串?
Windows.Forms
RichTextBox
string rtfStuffs = this.richTextBox1.Rtf; // Edit as you see fit... this.richTextBox1.Rtf = rtfStuffs;