|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Imgaes from IconDo any one knows how can we extract all size of icons fron a icon into
images int .NET e.g. a icon may contain three image type 1.16x16, 256 color 2. 24x24, 256 color 3. 32x32, 256 color Now how can I get all of - Angelina Hi Angelina,
The System.Drawing.Icon class has everything you need. The Icon constructor is overloaded, so that you can create an instance of an icon class specifying a size, and an icon containing the image of the specified size (if it exists) is returned. You can then use the ToBitmap method to extract the image from it. See http://msdn2.microsoft.com/en-us/library/system.drawing.icon.aspx -- Show quoteHTH, Kevin Spencer Microsoft MVP Professional Chicken Salad Alchemist What You Seek Is What You Get. "Angelina" <me.angel***@yahoo.com> wrote in message news:OYgwVlKrGHA.716@TK2MSFTNGP03.phx.gbl... > Do any one knows how can we extract all size of icons fron a icon into > images int .NET > > e.g. a icon may contain three image type > 1.16x16, 256 color > 2. 24x24, 256 color > 3. 32x32, 256 color > > Now how can I get all of > > - Angelina > |
|||||||||||||||||||||||