com.aspose.note

Class Page

    • Constructor Detail

      • Page

        public Page(Document document)

        Initializes a new instance of the Page class.

        Parameters:
        document - The parent document of the page.
    • Method Detail

      • getPageContentRevisionSummary

        public RevisionSummary getPageContentRevisionSummary()

        Gets or sets the revision summary for the page and it's child nodes.

      • setPageContentRevisionSummary

        public void setPageContentRevisionSummary(RevisionSummary value)

        Gets or sets the revision summary for the page and it's child nodes.

      • getTitle

        public Title getTitle()

        Gets or sets the title.

        Value: The Title.
      • setTitle

        public void setTitle(Title value)

        Gets or sets the title.

        Value: The Title.
      • getLastModifiedTime

        public Date getLastModifiedTime()

        Gets or sets the last modified time.

      • setLastModifiedTime

        public void setLastModifiedTime(Date value)

        Gets or sets the last modified time.

      • getCreationTime

        public Date getCreationTime()

        Gets or sets the creation time.

      • setCreationTime

        public void setCreationTime(Date value)

        Gets or sets the creation time.

      • getCachedTitleString

        public String getCachedTitleString()

        Gets or sets the title string.

      • setCachedTitleString

        public void setCachedTitleString(String value)

        Gets or sets the title string.

      • getLevel

        public byte getLevel()

        Gets or sets the level.

      • setLevel

        public void setLevel(byte value)

        Gets or sets the level.

      • getMargin

        public Margins getMargin()

        Gets or sets the margin.

      • setMargin

        public void setMargin(Margins value)

        Gets or sets the margin.

      • getAuthor

        public String getAuthor()

        Gets or sets the author.

      • setAuthor

        public void setAuthor(String value)

        Gets or sets the author.

      • getSizeType

        public int getSizeType()

        Gets or sets the size type of a page.


        By default, a page resizes automatically. The default value is PageSizeType.sizeByContent.

      • setSizeType

        public void setSizeType(int value)

        Gets or sets the size type of a page.


        By default, a page resizes automatically. The default value is PageSizeType.sizeByContent.

      • getWidth

        public float getWidth()

        Gets or sets the width.

      • setWidth

        public void setWidth(float value)

        Gets or sets the width.

      • getHeight

        public float getHeight()

        Gets or sets the height.

      • setHeight

        public void setHeight(float value)

        Gets or sets the height.

      • deepClone

        public Page deepClone()

        Clones the page.

        Returns:
        A clone of the page.