**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 CdrPattern extends CdrDictionaryItem
```

The cdr bitmap
## Constructors

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

| Method | Description |
| --- | --- |
| [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. |
### CdrPattern() {#CdrPattern--}
```
public CdrPattern()
```


### 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. |

