**Inheritance:**
java.lang.Object, [com.aspose.imaging.DisposableObject](../../com.aspose.imaging/disposableobject), [com.aspose.imaging.fileformats.cdr.objects.CdrObject](../../com.aspose.imaging.fileformats.cdr.objects/cdrobject), [com.aspose.imaging.fileformats.cdr.objects.CdrDictionaryItem](../../com.aspose.imaging.fileformats.cdr.objects/cdrdictionaryitem)
```
public class CdrBmp extends CdrDictionaryItem
```

he cdr bmp
## Constructors

| Constructor | Description |
| --- | --- |
| [CdrBmp()](#CdrBmp--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getColorModel()](#getColorModel--) | Gets the color model. |
| [setColorModel(int value)](#setColorModel-int-) | Sets the color model. |
| [getWidth()](#getWidth--) | Gets the width. |
| [setWidth(int value)](#setWidth-int-) | Sets the width. |
| [getHeight()](#getHeight--) | Gets the height. |
| [setHeight(int value)](#setHeight-int-) | Sets the height. |
| [getBpp()](#getBpp--) | Gets the BPP. |
| [setBpp(int value)](#setBpp-int-) | Sets the BPP. |
| [getBytesPerLine()](#getBytesPerLine--) | Gets the bytes per line. |
| [setBytesPerLine(int value)](#setBytesPerLine-int-) | Sets the bytes per line. |
| [getPalette()](#getPalette--) | Gets the palette. |
| [setPalette(int[] value)](#setPalette-int---) | Sets the palette. |
### CdrBmp() {#CdrBmp--}
```
public CdrBmp()
```


### getColorModel() {#getColorModel--}
```
public final int getColorModel()
```


Gets the color model.

**Returns:**
int - the color model.
### setColorModel(int value) {#setColorModel-int-}
```
public final void setColorModel(int value)
```


Sets the color model.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the color model. |

### getWidth() {#getWidth--}
```
public final int getWidth()
```


Gets the width.

**Returns:**
int - the width.
### setWidth(int value) {#setWidth-int-}
```
public final void setWidth(int value)
```


Sets the width.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the width. |

### getHeight() {#getHeight--}
```
public final int getHeight()
```


Gets the height.

**Returns:**
int - the height.
### setHeight(int value) {#setHeight-int-}
```
public final void setHeight(int value)
```


Sets the height.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the height. |

### getBpp() {#getBpp--}
```
public final int getBpp()
```


Gets the BPP.

**Returns:**
int - the BPP.
### setBpp(int value) {#setBpp-int-}
```
public final void setBpp(int value)
```


Sets the BPP.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the BPP. |

### getBytesPerLine() {#getBytesPerLine--}
```
public final int getBytesPerLine()
```


Gets the bytes per line.

**Returns:**
int - the bytes per line.
### setBytesPerLine(int value) {#setBytesPerLine-int-}
```
public final void setBytesPerLine(int value)
```


Sets the bytes per line.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the bytes per line. |

### getPalette() {#getPalette--}
```
public final int[] getPalette()
```


Gets the palette.

**Returns:**
int[] - the palette.
### setPalette(int[] value) {#setPalette-int---}
```
public final void setPalette(int[] value)
```


Sets the palette.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int[] | the palette. |

