Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Imgaes from Icon

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Angelina - 21 Jul 2006 10:41 GMT
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
Kevin Spencer - 21 Jul 2006 11:25 GMT
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

Signature

HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.

> Do any one knows how can we extract all size of icons fron a icon into
> images int .NET
[quoted text clipped - 7 lines]
>
> - Angelina

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.