com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class MarkupParagraph



  • public final class MarkupParagraph
    extends Object

    Represents a paragraph.

    • Method Detail

      • getPoints

        public Point[] getPoints()

        Points of polygon that describes paragraph. Starting point is lower left corner of the paragraph. And next points are in anti-clockwise sequence.

        Returns:
        array of Point instances
      • getFragments

        public List<TextFragment> getFragments()

        Collection of not empty TextFragment objects of the paragraph.


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

        public List<com.aspose.ms.System.Collections.Generic.List<TextFragment>> getLines()

        Lines of paragraph. Each line represented by list of text fragments.


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

        public String getText()

        Gets string text object that the MarkupParagraph object represents.

        Returns:
        String value