开发者

C# RichTextBox Format not shown if text loaded

开发者 https://www.devze.com 2023-03-28 13:41 出处:网络
I\'ve got a RichTextBox in which I can format the text.. I can save the text as .txt and also load, but when loaded, the formatting of the text is开发者_如何学JAVA \"away\"..

I've got a RichTextBox in which I can format the text..

I can save the text as .txt and also load,

but when loaded, the formatting of the text is开发者_如何学JAVA "away"..

So what can I do, that the format stay?

Hope someone can help me..


you have to use the RTF format: http://msdn.microsoft.com/en-us/library/8bf5hy2e(v=vs.80).aspx

TXT only saves the text but no formatting.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号