com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class MarkupSection



  • public final class MarkupSection
    extends Object

    Represents a markup section - the rectangular region of a page that contains text and can be visually divided from another text blocks.

    • Method Detail

      • getRectangle

        public Rectangle getRectangle()

        Section rectangle

        Returns:
        Rectangle instance
      • getFragments

        public List<TextFragment> getFragments()

        Collection of not empty TextFragment objects that are inside the section.


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

        public List<MarkupParagraph> getParagraphs()

        Collection of MarkupParagraph objects that are inside the section.

        Returns:
        list of MarkupParagraph instances