com.aspose.xps

Class XpsPage

  • All Implemented Interfaces:
    Iterable<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.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      XpsPage deepClone()
      Clones this page.
      float getHeight()
      Returns the height of the page, expressed as a real number in units of the effective coordinate space.
      float getWidth()
      Returns the width of the page, expressed as a real number in units of the effective coordinate space.
      String getXmlLang()
      Returns the value specifying the default language used for the current element and for any child or descendant elements.
      void setHeight(float value)
      Sets the height of the page, expressed as a real number in units of the effective coordinate space.
      void setWidth(float value)
      Sets the width of the page, expressed as a real number in units of the effective coordinate space.
      void setXmlLang(String value)
      Sets the value specifying the default language used for the current element and for any child or descendant elements.
    • Method Detail

      • getHeight

        public float getHeight()

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

        Returns:
        The height of the page.
      • setHeight

        public void setHeight(float value)

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

        Parameters:
        value - 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:
        The width of the page.
      • setWidth

        public void setWidth(float value)

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

        Parameters:
        value - 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:
        The value specifying the default language.
      • setXmlLang

        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:
        value - The value specifying the default language.
      • deepClone

        public XpsPage deepClone()

        Clones this page.

        Returns:
        Clone of this page.