resizing images on buttons

  • Thread starter Thread starter curtis.barrett
  • Start date Start date
C

curtis.barrett

Hi I am trying to convert some forms of mine from a 1024 X 768 size to
a 800 X 600 size and everything works fine except for the buttons. I
need to scale the images on the button but I can't figure out how to do
it. Any ideas on how to rescale the image with the button?
 
Word has a nice graphics processor that scales images nicely. Failing that,
create custom button controls.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
Ok thanks a bunch. It seems now that my scaled down images aren't
getting pushed through to the buttons... sigh oh well gonna have to
figure out that next.
 
You will have to remove the ones that are on there now and replace them with
the new ones. The images will be stored in the resources as XML and changes
to the original files will not show up just by replacing them.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
Back
Top