CmxPage
Inheritance: java.lang.Object
public class CmxPage
The page of the CMX document.
Constructors
Constructor | Description |
---|---|
CmxPage() | Initializes a new instance of the CmxPage class. |
Methods
Method | Description |
---|---|
getBoundBox() | Gets the bounding box. |
setBoundBox(RectangleF value) | Sets the bounding box. |
getFlags() | Gets the flags. |
setFlags(long value) | Sets the flags. |
getLayers() | Gets the page layers. |
getPageNumber() | Gets the page order number. |
setPageNumber(int value) | Sets the page order number. |
getWidth() | Gets the page width. |
setWidth(float value) | Sets the page width. |
getHeight() | Gets the page height. |
setHeight(float value) | Sets the page height. |
equals(Object o) | Check if objects are equal. |
hashCode() | Get hash code of the current object |
CmxPage()
public CmxPage()
Initializes a new instance of the CmxPage class.
getBoundBox()
public final RectangleF getBoundBox()
Gets the bounding box.
Returns: RectangleF - the bounding box.
setBoundBox(RectangleF value)
public final void setBoundBox(RectangleF value)
Sets the bounding box.
Parameters:
Parameter | Type | Description |
---|---|---|
value | RectangleF | the bounding box. |
getFlags()
public final long getFlags()
Gets the flags.
Returns: long - the flags.
setFlags(long value)
public final void setFlags(long value)
Sets the flags.
Parameters:
Parameter | Type | Description |
---|---|---|
value | long | the flags. |
getLayers()
public System.Collections.Generic.IGenericList<CmxLayer> getLayers()
Gets the page layers.
Returns: com.aspose.ms.System.Collections.Generic.IGenericList<com.aspose.imaging.fileformats.cmx.objectmodel.CmxLayer> - the page layers.
getPageNumber()
public final int getPageNumber()
Gets the page order number.
Returns: int - the page order number.
setPageNumber(int value)
public final void setPageNumber(int value)
Sets the page order number.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the page order number. |
getWidth()
public final float getWidth()
Gets the page width.
Returns: float - the page width.
setWidth(float value)
public final void setWidth(float value)
Sets the page width.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the page width. |
getHeight()
public final float getHeight()
Gets the page height.
Returns: float - the page height.
setHeight(float value)
public final void setHeight(float value)
Sets the page height.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the page height. |
equals(Object o)
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()
public int hashCode()
Get hash code of the current object
Returns: int - The hash code.