Load icon to picturebox

  • Thread starter Thread starter Guest
  • Start date Start date
Load an icon. Create a new Bitmap size of icon. Use Graphics.FromImage to
get the Graphics object and then call Graphics.DrawIcon to paint the icon on
the bitmap. Then set the bitmap as PictureBox.Image
 
Alex

Thanks.

Rogerio

Alex Feinman said:
Load an icon. Create a new Bitmap size of icon. Use Graphics.FromImage to
get the Graphics object and then call Graphics.DrawIcon to paint the icon on
the bitmap. Then set the bitmap as PictureBox.Image
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top