如何将rtf文本附加到richtextbox?! [英] How to append a rtf text to a richtextbox?!

查看:75
本文介绍了如何将rtf文本附加到richtextbox?!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以将richtextbox.rtf设置为某个rtf值(我想在richtextbox中创建一个粗体字)...但是如何将其他一些rtf行附加到此richtextbox?$



以下代码我发现它工作得很好......但我不能再添加一行这个

请帮助我..





I can set the richtextbox.rtf to some rtf value ( I want to make a word bold in a richtextbox) ... but how can I append some other rtf line to this richtextbox ?!

The below code which I've found it works fine ... but I can't add one more line to this
plz help me ..


Dim sb = new System.Text.StringBuilder()
   sb.Append("{\rtf1\ansi")
   sb.Append("This number is bold: \b 123\b0 ! Yes, it is...")
   sb.Append("}")
   RichTextBox.Rtf = sb.ToString()

推荐答案

你可以看看这些:

在RichTextBox中附加RTF文本 [ ^ ]

将文字附加到rtf [ ^ ]
You could have a look at these:
Append RTF text in a RichTextBox[^]
append text to rtf[^]


这篇关于如何将rtf文本附加到richtextbox?!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆