TEL : +33 (0)9 72 13 15 17
Accueil
Services
Logiciels
Competences
Contact
La boutique
Forums
Windows Forms FAQ resources
22. Windows Forms RichTextBox
22.2 How can I get a string that contains RTF format codes into a RichTextBox?
Use the Rtf property of the control.
richTextBox1.Rtf = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}\viewkind4\uc1\pard\b\i\f0\fs20 This is bold italics.\par }";
online visitor count