0 Replies Latest reply on Dec 8, 2009 1:15 AM by Prakash Philip

    How to rotate the pages of pdf files in acrobat?

    Prakash Philip

      Hi,

      Am having one html file containg PDF files.

      i want to rotate the pages of that pdf file using javascript.

      i wrote some code for that but it is not working.

       

      case "Rotate":

      nStart = 0;

      nEnd = this.numPages - 1;

      nRotate = 90;
      try
      {
      if (this.numPages > 0)
                 {   
                 this.setPageRotations(nStart , nEnd , nRotate)
                 }
      }
      catch(e)
      {
      app.alert("Processing error: "+e)
      }
      break;

      Still no action is happening

      Can anyone can help me to sort this out.