CmxPage

Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject

public class CmxPage extends DisposableObject

The page of the CMX document.

Constructors

ConstructorDescription
CmxPage()Initializes a new instance of the CmxPage class.

Methods

MethodDescription
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:

ParameterTypeDescription
valueRectangleFthe 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:

ParameterTypeDescription
valuelongthe 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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
valuefloatthe 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:

ParameterTypeDescription
valuefloatthe page height.

equals(Object o)

public boolean equals(Object o)

Check if objects are equal.

Parameters:

ParameterTypeDescription
ojava.lang.ObjectThe other object.

Returns: boolean - The equality comparison result.

hashCode()

public int hashCode()

Get hash code of the current object

Returns: int - The hash code.