**Inheritance:**
java.lang.Object
```
public class CmxDocument
```

The CMX document.
## Constructors

| Constructor | Description |
| --- | --- |
| [CmxDocument()](#CmxDocument--) | Initializes a new instance of the [CmxDocument](../../com.aspose.imaging.fileformats.cmx.objectmodel/cmxdocument) class. |
## Methods

| Method | Description |
| --- | --- |
| [getPages()](#getPages--) | Gets the pages of current document. |
| [toString()](#toString--) | Returns a String that represents this instance. |
### CmxDocument() {#CmxDocument--}
```
public CmxDocument()
```


Initializes a new instance of the [CmxDocument](../../com.aspose.imaging.fileformats.cmx.objectmodel/cmxdocument) class.

### getPages() {#getPages--}
```
public List<CmxPage> getPages()
```


Gets the pages of current document.

**Returns:**
java.util.List<com.aspose.imaging.fileformats.cmx.objectmodel.CmxPage> - the pages of current document.
### toString() {#toString--}
```
public String toString()
```


Returns a String that represents this instance.

**Returns:**
java.lang.String - A String that represents this instance.
