com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class TextMarkupAnnotation

    • Method Detail

      • getQuadPoints

        public Point[] getQuadPoints()

        Gets an array of points specifying the coordinates of n quadrilaterals. Each quadrilateral encompasses a word or group of contiguous words in the text underlying the annotation.

        Returns:
        array of Point value
      • setQuadPoints

        public void setQuadPoints(Point[] value)

        Sets an array of points specifying the coordinates of n quadrilaterals. Each quadrilateral encompasses a word or group of contiguous words in the text underlying the annotation.

        Parameters:
        value - array of Point value
      • changeAfterResize

        public void changeAfterResize(Matrix transform)

        Updates the QuadPoints, according to the matrix transform.

        Overrides:
        changeAfterResize in class Annotation
        Parameters:
        transform - Matrix that use for transformation (resize).
      • getMarkedText

        public String getMarkedText()

        Gets text under markup annotation as string.

        Returns:
        String containing text that is under markup annotation.
      • getMarkedTextFragments

        public TextFragmentCollection getMarkedTextFragments()

        Gets text under markup annotation as TextFragmentCollection.

        Returns:
        TextFragmentCollection containing TextFragments that is under markup annotation.