How do I format the RichTextBox two combine two fontStyle (example Bold and Italic) in VB.Net?
From research I belive in C# you can do the following but I do the following;
richTextBox1.SelectionFont = new Font( "Tahoma", 10, System.Drawing.FontStyle.Bold |System.Drawing.FontStyle.Italic)
I have tried the following but it did not seem to work.
RichTextBox_Content.SelectionFont = New Font("Tahoma", 8, System.Drawing.FontStyle.Bold And System.Drawing.FontStyle.Italic)
Thanks in Advance