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
 
Back
Top