943,871 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 6655
  • C# RSS
Apr 21st, 2008
0

Using Fonts in C#

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bokr66 is offline Offline
5 posts
since Apr 2008
Apr 22nd, 2008
0

Re: Using Fonts in C#

The msdn - library gives a full list of possible members of RichTextBox.
http://msdn2.microsoft.com/en-us/lib...x_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
Last edited by Jens; Apr 22nd, 2008 at 5:52 am. Reason: formatting
Reputation Points: 13
Solved Threads: 6
Light Poster
Jens is offline Offline
47 posts
since Apr 2008
Apr 22nd, 2008
0

Re: Using Fonts in C#

Hi Jens,

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

regards

Bojan
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bokr66 is offline Offline
5 posts
since Apr 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: C# component calling function in Parent form
Next Thread in C# Forum Timeline: My windows service restart another windows service?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC