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
deepClone()Clones this page.
equals(Object arg0)
get(int i)Provides access to element’s children by index i .
getClass()
getHeight()Returns 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.
getXmlLang()Returns the value specifying the default language used for the current element and for any child or descendant elements.
hashCode()
iterator()Implementation of Iterable interface.
notify()
notifyAll()
setHeight(float value)Sets the height 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.
setXmlLang(String value)Sets the value specifying the default language used for the current element and for any child or descendant elements.
size()Returns the number of child elements.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public XpsPage deepClone()

Clones this page.

Returns: XpsPage - Clone of this page.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int i)

public XpsContentElement get(int i)

Provides access to element’s children by index i .

Parameters:

ParameterTypeDescription
iintIndex of child element.

Returns: XpsContentElement - Child element at i position.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

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.

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.

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.

hashCode()

public native int hashCode()

Returns: int

iterator()

public Iterator<XpsContentElement> iterator()

Implementation of Iterable interface.

Returns: java.util.Iterator<com.aspose.xps.XpsContentElement> - Returns enumerator for the list.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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.

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.

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.

size()

public int size()

Returns the number of child elements.

Returns: int - The number of child elements.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int