1 Reply Latest reply on Dec 25, 2008 2:38 AM by Bernd Alheit

    addAnnot Polygon problems

      I am trying to see if a certain shape is possible to draw with JS and I was testing this in the console and every time is crashes Acrobat

      this.addAnnot({ type: "Polygon", page: 0, rect: [200,200,400,300], name: "hello", author: "Ben"})

      It works with as a circle or square but not polygon.

      Using Acrobat 7 Pro

      Is it possible to script drawing a multi-sided shape?