1 Replies - 2910 Views - Last Post: 17 March 2010 - 02:52 AM Rate Topic: -----

#1 baigsadaf  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 17-March 10

apply font size on selected text

Posted 17 March 2010 - 02:42 AM

how we can change color and font size of selected text in multi-line textbox?
Is This A Good Question/Topic? 0
  • +

Replies To: apply font size on selected text

#2 Gonzilla  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 23
  • Joined: 16-March 10

Re: apply font size on selected text

Posted 17 March 2010 - 02:52 AM

The textbox does not support this feature, use the RichTextBox.

//change color
richTextBox1.SelectionColor = Color.Red;
//change font
richTextBox1.SelectionFont = new Font("Arial", 15);


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1