Click here to Skip to main content
15,789,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I know I can use the following in a RichTextBox to change properties of my font.

< B> Bold
< I> Italics
< U> Underline
< E> Center
< L> Left
< R> Right
< Br> Carriage Return
< Font Size=## > Change Font Size to a numbered size
< Font Color=Red > Change Font Color ie: Red

But how do I change the Font Weight to EXTRA BOLD or HEAVY?

What I have tried:

< Font Weight=900>
< Font Weight=9>
< Font Weight=5>
< Font Weight=Heavy>
< Font Weight=Extra Bold>

I feel like I am close because it does not error and does not display what I tried literally.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900