Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The situation:
A blank form and one large button.
An icon file as a resource.

The problem:
I use the icon as an image for the button, but it doesn't scale up.
How can I (programmatically) choose a larger version of the icon?
Posted

1 solution

Instead of using an icon, use an image file that's large enough. So you won't have to worry about scaling it up. That'd be a simple solution to your problem.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 1-May-11 1:05am    
Right, icons are only needed for window or application icon. My 5.
--Sa
Nish Nishant 1-May-11 9:27am    
Thanks SA!

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