Search:

Custom Search
_________________________________________________________________

Thursday, April 10, 2008

Convert Icon to Image in C#

This is actually very easy since we can use methods provided by the framework.So let’s write an example of how easy this is.

Icon a = new Icon(location);//location can be a string pointing to a file in your hard drive

Image im = a.ToBitmap();

No comments: