Link to home
Start Free TrialLog in
Avatar of thenthorn1010
thenthorn1010Flag for United States of America

asked on

How to Make Specific Text in a String Bold in Visual Studio C# 2008 Using a RichTextBox

I am attempting to write a RichTextBox and I need to be able to write part of a sentence in bold and the remainder of the text in the sentence in regular type. Could someone help me figure out what the syntax would be in order to complete this task? For instance, if the control was called RichTextBox1 and the sentence was "The dog crossed the road", how would I get the word "dog" to be bold and the remainder of the sentence to be regular type?

Any help that could be provided on this topic would be greatly appreciated.
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Idle_Mind
The question is slightly different.
Ah...I see.