954,152 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Using Fonts in C#

Hi,

I have a problem with showing text in different fonts, fontstyles, colors, alignments and sizes in richTextBox in C#. I read some articles on Internet about this, but I was't satisfied with them. Many thanks in advance.

regards,

Bojan

bokr66
Newbie Poster
5 posts since Apr 2008
Reputation Points: 10
Solved Threads: 0
 

The msdn - library gives a full list of possible members of RichTextBox.
http://msdn2.microsoft.com/en-us/library/system.windows.forms.richtextbox_members.aspx

It seems you would to use the selectionfont here.
Try some of the examples here , maybe they can help you?

Hope this helps,
Jens

Jens
Light Poster
49 posts since Apr 2008
Reputation Points: 13
Solved Threads: 6
 

Hi Jens,

Many thanks for your help. It's wery helpfull.

regards

Bojan

bokr66
Newbie Poster
5 posts since Apr 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You