**Inheritance:**
java.lang.Object, [com.aspose.imaging.DisposableObject](../../com.aspose.imaging/disposableobject)
```
public class CmxPage extends DisposableObject
```

The page of the CMX document.
## Constructors

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

| Method | Description |
| --- | --- |
| [getBoundBox()](#getBoundBox--) | Gets the bounding box. |
| [setBoundBox(RectangleF value)](#setBoundBox-com.aspose.imaging.RectangleF-) | Sets the bounding box. |
| [getFlags()](#getFlags--) | Gets the flags. |
| [setFlags(long value)](#setFlags-long-) | Sets the flags. |
| [getLayers()](#getLayers--) | Gets the page layers. |
| [getPageNumber()](#getPageNumber--) | Gets the page order number. |
| [setPageNumber(int value)](#setPageNumber-int-) | Sets the page order number. |
| [getWidth()](#getWidth--) | Gets the page width. |
| [setWidth(float value)](#setWidth-float-) | Sets the page width. |
| [getHeight()](#getHeight--) | Gets the page height. |
| [setHeight(float value)](#setHeight-float-) | Sets the page height. |
| [equals(Object o)](#equals-java.lang.Object-) | Check if objects are equal. |
| [hashCode()](#hashCode--) | Get hash code of the current object |
### CmxPage() {#CmxPage--}
```
public CmxPage()
```


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

### getBoundBox() {#getBoundBox--}
```
public final RectangleF getBoundBox()
```


Gets the bounding box.

**Returns:**
[RectangleF](../../com.aspose.imaging/rectanglef) - the bounding box.
### setBoundBox(RectangleF value) {#setBoundBox-com.aspose.imaging.RectangleF-}
```
public final void setBoundBox(RectangleF value)
```


Sets the bounding box.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [RectangleF](../../com.aspose.imaging/rectanglef) | the bounding box. |

### getFlags() {#getFlags--}
```
public final long getFlags()
```


Gets the flags.

**Returns:**
long - the flags.
### setFlags(long value) {#setFlags-long-}
```
public final void setFlags(long value)
```


Sets the flags.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | long | the flags. |

### getLayers() {#getLayers--}
```
public List<CmxLayer> getLayers()
```


Gets the page layers.

**Returns:**
java.util.List<com.aspose.imaging.fileformats.cmx.objectmodel.CmxLayer> - the page layers.
### getPageNumber() {#getPageNumber--}
```
public final int getPageNumber()
```


Gets the page order number.

**Returns:**
int - the page order number.
### setPageNumber(int value) {#setPageNumber-int-}
```
public final void setPageNumber(int value)
```


Sets the page order number.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the page order number. |

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


Gets the page width.

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


Sets the page width.

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

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


Gets the page height.

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


Sets the page height.

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

### equals(Object o) {#equals-java.lang.Object-}
```
public boolean equals(Object o)
```


Check if objects are equal.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object | The other object. |

**Returns:**
boolean - The equality comparison result.
### hashCode() {#hashCode--}
```
public int hashCode()
```


Get hash code of the current object

**Returns:**
int - The hash code.
