Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to know how to change font size and type code using checkbox control
Posted
Comments
Mukesh Pr@sad 12-Nov-14 4:29am    
u can use checkbox.checkedchanged event to write ur code
Laiju k 12-Nov-14 4:30am    
what have you tried
[no name] 12-Nov-14 4:42am    
Can you please explain what exactly your requirement is buddy?
Karthik_Mahalingam 12-Nov-14 4:43am    
please provide more inputs.

The .NET framework provides a Font[^] class (and it gently provides sample code as well).
I suppose a Check Box control is not the best suited one for allowing the user to change the font properties.
 
Share this answer
 
Hi,

You can use this code according to tour need in the checkedChangedEvent of the check box.

C#
Font fnt=new Font(new FontFamily(""),10,FontStyle.Regular);
 
Share this answer
 

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