2 Replies Latest reply on Nov 13, 2015 5:00 AM by zimbop

    setPageLabels question

    zimbop Level 1

      I'm trying to set the first page of a 10 page PDF to page label "A", and the last page to "B". The pages in the middle should not be affected. I'm boggled as to why the middle pages are being changed too, even though I believe I am telling acrobat to only change the first and last pages.

       

      this.setPageLabels(0, ["A", "", 1]);

      this.pageNum=this.numPages-1;

      this.setPageLabels(this.pageNum, ["A", "", 2]);

       

      Any help much appreciated