TClrIcon Class
Represents a Windows icon, which is a small bitmap image that is used to represent an object. Icons can be thought of as transparent bitmaps, although their size is determined by the system.
CNClrLib.Control.Graphics.TClrIcon
The TClrIcon type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Create(_Icon) | Initializes a new instance of the TClrIcon class using the specified .Net icon object. |
![]() | Destroy | Frees the resources allocated with a TClrIcon instance. |
| Name | Description | |
|---|---|---|
![]() | Assign(TPersistent) | Copies the contents of another, similar object. |
![]() | AssignTo(TPersistent) | Represents method |
![]() | Changed(TObject) | Represents method |
![]() | LoadFromFile(string) | Overloaded. Creates an Icon class from the specified file name. |
![]() | LoadFromFile(string,Integer,Integer) | Overloaded. Creates an Icon class with the specified width and height from the specified file. |
![]() | LoadFromFile(string,_Size) | Overloaded. Creates an Icon class of the specified size from the specified file. |
![]() | LoadFromStream(TStream) | Overloaded. Creates an Icon class from the specified data stream. |
![]() | LoadFromStream(_Stream) | Overloaded. Creates an Icon class from the specified data stream. |
![]() | LoadFromStream(_Stream,Integer,Integer) | Overloaded. Creates an Icon class from the specified data stream and with the specified width and height. |
![]() | LoadFromStream(_Stream,_Size) | Overloaded. Creates an Icon class of the specified size from the specified stream. |
![]() | SaveToFile(string) | Overloaded. Saves this Icon to the specified file name. |
![]() | SaveToStream(TStream) | Overloaded. Saves this Icon to the specified output Stream. |
![]() | SaveToStream(_Stream) | Overloaded. Saves this Icon to the specified output Stream. |
![]() | ToBitmap | Converts this Icon to a GDI+ Bitmap. |
![]() | ToStream | Converts the icon to a .Net Stream object as interface. |


