Click here to Skip to main content
15,906,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all
Can anybody tell me how to change size of font while coding source code
in .NET environment, because I could not able to see the properties.
Posted
Updated 13-May-10 21:14pm
v2

Try this out i ma trying to change the font of your textbox on the click of a button
private void button1_Click(object sender, EventArgs e)
       {
           textBox1.Font = new Font("Verdana", 16);
       }


do rate my answer once you find it useful

Thanks & Regards
Radix :)
 
Share this answer
 
Go to: "Tools –> Options –> Environment -> Fonts and Colors" and you will be able to make your changes. :)
 
Share this answer
 
Comments
YOGESH DHAGE 14-May-10 3:14am    
Thanks
Nuri Ismail 14-May-10 3:24am    
You're welcome! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900