---
title: "IImageList..::.AddImage Method (Bitmap, Object)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IImageList_AddImage_2_2d83b7f1.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# IImageList.AddImage Method (Bitmap, Object)
 
Adds the specified bitmap to the image list.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Sub AddImage ( _image As Bitmap, _key As Object _
)
```
 
```csharp
void AddImage(Bitmap image,Object key
)
```
 
### Parameters
 
 - image
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
A [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md) class instance representing the image that should be added to the current image list.

 - key
     - Type: [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
A key corresponding to the image.
   
## See Also

### Reference

- [IImageList Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IImageList.htm.md)
- [AddImage Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_IImageList_AddImage.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
