1 Reply Latest reply on Mar 9, 2012 5:06 AM by Bernd Alheit

    get Coordinates of match word

    Techi Panda Level 2

      Hi experts


      Here I am trying to find particular word and inserting comment on that poisition. I have done half things I am struck while getting coordiates of the word. Here is my strat


      var numWords = this.getPageNumWords(0);


      for (var i=0; i<numWords; i++) {

          var ckWord = this.getPageNthWord(0,i);




      var annot = this.addAnnot({

                  page: 0,

                  type: "Text",

                  name: "AppStamp",

                  rect: [0, 0, 0, 0], // THIS VALUES I NEED TO FIND IT FOR THE MATCH WORD POSITION

      //            rotate: 90,

                  AP: "some" })



      Thanks in advance