Basic Dot Net Question:

What class does Icon derive from? Isn’t it just a Bitmap with a wrapper name around it?

Tweet Share WhatsApp

Answer:

No, Icon lives in System.Drawing namespace. It’s not a Bitmap by default, and is treated separately by .NET. However, you can use ToBitmap method to get a valid Bitmap object from a valid Icon object.

Download Dot Net PDF Read All 116 Dot Net Questions
Previous QuestionNext Question
How can you assign an RGB color to a System.Drawing.Color object?Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically?