# IconType enum

Namespace: [Grasshopper2.UI.Icon](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.icon.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum IconType
```

Enumerates the possible types of image.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Unknown | 0 | Unknown icon type. |
| Pixel | 1 | Pixel icon. |
| Vector | 2 | Vector graphics icon. This may include vector graphics that contain bitmaps. |
| Code | 3 | Icon is drawn by some compiled method. |
