# BitmapTable class

Namespace: [Rhino.DocObjects.Tables](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.docobjects.tables.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public sealed class BitmapTable : RhinoDocCommonTable<BitmapEntry>, ICollection<BitmapEntry>
```

Stores the list of bitmaps in a Rhino document.

## Properties

- [ComponentType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.bitmaptable/componenttype.md): Returns [ModelComponentType.Image](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.modelcomponenttype.md).

## Indexers

- [this[]](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.bitmaptable/item.md): Conceptually, the bitmap table is an array of bitmaps. The operator[] can be used to get individual bitmaps.

## Methods

- [AddBitmap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.bitmaptable/addbitmap.md): Adds a new bitmap with specified name to the bitmap table.
- [Delete](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.bitmaptable/delete.md): Removes the bitmap from the table.
- [DeleteBitmap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.bitmaptable/deletebitmap.md): Deletes a bitmap.
- [ExportToFile](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.bitmaptable/exporttofile.md): Writes a bitmap to a file.
- [ExportToFiles](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.bitmaptable/exporttofiles.md): Exports all the bitmaps in the table to files.
- [Find](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.bitmaptable/find.md): This function first attempts to find the file with "name" on the disk. If it does find it, "fileName" is set to the full path of the file and the BitmapEntry returned will be null, even if there was a BitmapEntry with "name" in the bitmap table. If the function cannot find the file on the disk, it searches the bitmap table. If it finds it, the returned BitmapEntry entry will be the entry in the table with that name. Additionally, if "createFile" is true, and an entry is found, the file will be written to the disk and it's full path will be contained in "fileName".
- [FindIndex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.bitmaptable/findindex.md): Retrieves a BitmapEntry object based on Index. This search type of search is discouraged. We are moving towards using only IDs for all tables.
- [ICollection<BitmapEntry>.Add](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.bitmaptable/system-collections-generic-icollection-rhino-docobjects-bitmapentry-add.md)

## Inherited Members

- From [RhinoDocCommonTable<T>](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.rhinodoccommontable-1.md): [Document](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.rhinodoccommontable-1/document.md)
- From [CommonComponentTable<T>](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1.md): [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1/count.md), [Clear](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1/clear.md), [FindId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1/findid.md), [GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1/getenumerator.md)
