How to code Font Style,Size in VB.NET program

I am creating Notepad in VB.NET and i added a menu strip which contain

Page 1 of 1

1 Replies - 1000 Views - Last Post: 11 July 2009 - 06:23 AM Rate Topic: -----

#1 pradeep_bhadani  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 11-July 09

How to code Font Style,Size in VB.NET program

Posted 11 July 2009 - 06:02 AM

I am creating Notepad in VB.NET and i added a menu strip which contain FONT>Bold,Italic,Bold Italic,Regular,Underline and Font Size> 8pt, 10pt. But i dont know which command can do this .So please tell me about related commands.
Is This A Good Question/Topic? 0
  • +

Replies To: How to code Font Style,Size in VB.NET program

#2 Core  Icon User is offline

  • using System.Linq;
  • member icon

Reputation: 774
  • View blog
  • Posts: 5,097
  • Joined: 08-December 08

Re: How to code Font Style,Size in VB.NET program

Posted 11 July 2009 - 06:23 AM

Generally, you would use something like RichTextBox.SelectionFont = New Font ([Font Settings])

[rules][/rules]
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1