com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class PageMarkup



  • public final class PageMarkup
    extends Object

    Page markup represented by collections of MarkupSection and MarkupParagraph.

    • Method Detail

      • getNumber

        public int getNumber()

        Gets processed page number.

        Returns:
        int value
      • getRectangle

        public Rectangle getRectangle()

        Gets processed page rectangle.

        Returns:
        Rectangle object
      • getSections

        public List<MarkupSection> getSections()

        Gets collection of MarkupSection that was found on the page.

        Returns:
        List of MarkupSection instances
      • getParagraphs

        public List<MarkupParagraph> getParagraphs()

        Gets collection of MarkupParagraph that was found on the page.

        Returns:
        List of MarkupParagraph instances
      • getTextFragments

        public List<TextFragment> getTextFragments()

        Gets collection of TextFragment that was found on the page.


        The TextFragment object provides access to the search occurrence text, text properties, and allows to edit text and change the text state (font, font size, color etc).
        Returns:
        List of TextFragment instances