Hi
in my program i need to select some special fonts like blogs that you can just select special fonts for your posts.
I can use fontdialog but i want to select 5 or 6 special fonts by a menu and Apply to my richtextbox.
thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Javeed M ShaikhPosted Nov 4, 2011, 10:11 AM
richTextBox1.SelectionFont = new Font("Tahoma", 12, FontStyle.Bold);
AbolfazlPosted Nov 6, 2011, 7:36 AM
thanks for your guide
ok,i'm sorry for use big\bold font
Mahesh ChandPosted Nov 4, 2011, 10:42 AM
You don't need to use a big/bold font in the forums.
AbolfazlPosted Nov 4, 2011, 4:48 AM
no,i didn't use the font class.how can i use it?
i used this code for change fontsize: richtextbax1.selectionfont=new font(richtextbox1.font.fontfamily,number);
but iwant to change the font like arial,tahoma or etc. can you help me?
Javeed M ShaikhPosted Nov 3, 2011, 10:05 AM