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
      • isMulticolumnParagraphsAllowed

        public final boolean isMulticolumnParagraphsAllowed()

        Gets or sets value that indicates whether starting text lines of a next section may be treated as continuation of the last paragraph of a previous section.

        Returns:
        boolean value
      • setMulticolumnParagraphsAllowed

        public final void setMulticolumnParagraphsAllowed(boolean value)

        Gets or sets value that indicates whether starting text lines of a next section may be treated as continuation of the last paragraph of a previous section.

        Parameters:
        value - boolean value