Hi,
I want to change text size,font, etc. in richtextbox or textbox. How can i do that;
textbox1.Text = "example";
How can i change "example"'s font?
About font
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rekha SinghRank #1,571 · 1K reputationPosted Jan 4, 2010, 8:11 PM EST
richTextBox1.SelectionFont = new Font("Tahoma", 10, FontStyle.Italic);
richTextBox1.SelectionColor = System.Drawing.Color.Purple;
**************************************
pls mark Accepted if u find it helpful
Hiren SoniRank #694 · 3.5K reputationPosted Jan 4, 2010, 4:55 PM EST