XpsPage

Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsElement

public final class XpsPage extends XpsElement

Class incapsulating FixedPage element features. This element contains the contents of a page and is the root element of a FixedPage part.

Methods

MethodDescription
getHeight()Returns the height of the page, expressed as a real number in units of the effective coordinate space.
setHeight(float value)Sets the height of the page, expressed as a real number in units of the effective coordinate space.
getWidth()Returns the width of the page, expressed as a real number in units of the effective coordinate space.
setWidth(float value)Sets the width of the page, expressed as a real number in units of the effective coordinate space.
getXmlLang()Returns the value specifying the default language used for the current element and for any child or descendant elements.
setXmlLang(String value)Sets the value specifying the default language used for the current element and for any child or descendant elements.
deepClone()Clones this page.

getHeight()

public float getHeight()

Returns the height of the page, expressed as a real number in units of the effective coordinate space.

Returns: float - The height of the page.

setHeight(float value)

public void setHeight(float value)

Sets the height of the page, expressed as a real number in units of the effective coordinate space.

Parameters:

ParameterTypeDescription
valuefloatThe height of the page.

getWidth()

public float getWidth()

Returns the width of the page, expressed as a real number in units of the effective coordinate space.

Returns: float - The width of the page.

setWidth(float value)

public void setWidth(float value)

Sets the width of the page, expressed as a real number in units of the effective coordinate space.

Parameters:

ParameterTypeDescription
valuefloatThe width of the page.

getXmlLang()

public String getXmlLang()

Returns the value specifying the default language used for the current element and for any child or descendant elements.

Returns: java.lang.String - The value specifying the default language.

setXmlLang(String value)

public void setXmlLang(String value)

Sets the value specifying the default language used for the current element and for any child or descendant elements.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value specifying the default language.

deepClone()

public XpsPage deepClone()

Clones this page.

Returns: XpsPage - Clone of this page.