# IGH_IconObject interface

Namespace: [Grasshopper.GUI.IconEditor](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.iconeditor.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public interface IGH_IconObject : GH_ISerializable
```

Represents a procedural object inside an Icon image.

**Derived types:** [GH_IconObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.iconeditor.gh-iconobject.md)

## Properties

- [Image](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.iconeditor.igh-iconobject/image.md): Gets the object image. Do not store pointers to this image as it might be disposed at any time.
- [ObjectID](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.iconeditor.igh-iconobject/objectid.md): Gets the icon object ID.
- [Pivot](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.iconeditor.igh-iconobject/pivot.md): Gets or sets the pivot point for this object.
- [Size](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.iconeditor.igh-iconobject/size.md): Gets or sets the size of the object container. Setting the Size does not adjust the geometry, call Resize() instead.

## Methods

- [Contains](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.iconeditor.igh-iconobject/contains.md): Tests a floating point coordinate for shape inclusion.
- [Grips](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.iconeditor.igh-iconobject/grips.md): Gets a list of Icon object grips.
- [RenderObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.iconeditor.igh-iconobject/renderobject.md): Draw this object inside the specified graphics surface.
- [Resize](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.iconeditor.igh-iconobject/resize.md): Set a new size for this object and resize the geometry to adapt to the new container.

## Inherited Members

- From [GH_ISerializable](https://developer.rhino3d.com/api/gh1/type/gh-io.gh-iserializable.md): [Read](https://developer.rhino3d.com/api/gh1/type/gh-io.gh-iserializable/read.md), [Write](https://developer.rhino3d.com/api/gh1/type/gh-io.gh-iserializable/write.md)
