4 Replies Latest reply on Mar 11, 2011 10:18 AM by DimitriM

    highlight a text (find result)

    jeanmed Level 1



      i use the getPageNthWord methode for geting each words from a page and .getPageNthWordQuads for getting the position.

      After this with a condition a need to go this page and highlight this text.

      The word() dont works can you help me ?


      Thanks for your help



      My code :

      var value = "ok";


      for (var i = 0; i < this.numPages; i++)
      var word =this.getPageNthWord(i);
      var position=this.getPageNthWordQuads(i);
      if(value == position ){word(position);}