com.groupdocs.parser.data

Class HighlightItem

    • Constructor Detail

      • HighlightItem

        public HighlightItem(int position,
                             String text)
        Initializes a new instance of the HighlightItem class.
        Parameters:
        position - The position in the document text.
        text - The text of the highlight.
    • Method Detail

      • getPosition

        public int getPosition()
        Gets the position in the document text.
        Returns:
        A zero-based index of the start position of the highlight.
      • getText

        public String getText()
        Gets the text of the highlight.
        Returns:
        A string value that represents the text of the highlight.