# IndexedBitmap class

Namespace: [Eto.Drawing](https://eto.picoe.ca/api/namespace/eto.drawing.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[Handler(IndexedBitmap.IHandler)]
public class IndexedBitmap : Image
```

Represents a bitmap where each pixel is specified as an index in a [IndexedBitmap.Palette](https://eto.picoe.ca/api/type/eto.drawing.indexedbitmap/palette.md)

## Constructors

- [IndexedBitmap](https://eto.picoe.ca/api/type/eto.drawing.indexedbitmap/ctor.md): Initializes a new instance of the IndexedBitmap class

## Properties

- [BitsPerPixel](https://eto.picoe.ca/api/type/eto.drawing.indexedbitmap/bitsperpixel.md): Gets the number of bits per pixel for this bitmap
- [Palette](https://eto.picoe.ca/api/type/eto.drawing.indexedbitmap/palette.md): Gets or sets the palette of the image

## Methods

- [Lock](https://eto.picoe.ca/api/type/eto.drawing.indexedbitmap/lock.md): Locks the data of the image to directly access the bytes of the image
- [Resize](https://eto.picoe.ca/api/type/eto.drawing.indexedbitmap/resize.md): Resizes the bitmap to the specified size

## Inherited Members

- From [Image](https://eto.picoe.ca/api/type/eto.drawing.image.md): [Height](https://eto.picoe.ca/api/type/eto.drawing.image/height.md), [Size](https://eto.picoe.ca/api/type/eto.drawing.image/size.md), [Width](https://eto.picoe.ca/api/type/eto.drawing.image/width.md)
- From [Widget](https://eto.picoe.ca/api/type/eto.widget.md): [ControlObject](https://eto.picoe.ca/api/type/eto.widget/controlobject.md), [Handler](https://eto.picoe.ca/api/type/eto.widget/handler.md), [ID](https://eto.picoe.ca/api/type/eto.widget/id.md), [IsDisposed](https://eto.picoe.ca/api/type/eto.widget/isdisposed.md), [NativeHandle](https://eto.picoe.ca/api/type/eto.widget/nativehandle.md), [Platform](https://eto.picoe.ca/api/type/eto.widget/platform.md), [Properties](https://eto.picoe.ca/api/type/eto.widget/properties.md), [Style](https://eto.picoe.ca/api/type/eto.widget/style.md), [StyleChanged](https://eto.picoe.ca/api/type/eto.widget/stylechanged.md), [Dispose](https://eto.picoe.ca/api/type/eto.widget/dispose.md), [GetCallback](https://eto.picoe.ca/api/type/eto.widget/getcallback.md), [Initialize](https://eto.picoe.ca/api/type/eto.widget/initialize.md), [OnStyleChanged](https://eto.picoe.ca/api/type/eto.widget/onstylechanged.md), [ToString](https://eto.picoe.ca/api/type/eto.widget/tostring.md)
