**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.CdrObjectContainer](../../com.aspose.imaging.fileformats.cdr.objects/cdrobjectcontainer)
```
public class CdrVersion extends CdrObjectContainer
```

The cdr Version
## Constructors

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

| Method | Description |
| --- | --- |
| [getVersion()](#getVersion--) | Gets the version. |
| [setVersion(int value)](#setVersion-int-) | Sets the version. |
### CdrVersion() {#CdrVersion--}
```
public CdrVersion()
```


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


Gets the version.

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


Sets the version.

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

