Skip to main content
January 14, 2020
Question

NotAllowedError for setPageRotations

  • January 14, 2020
  • 1 reply
  • 615 views

Hello,

 

this.setPageRotations(0, 0, 90); doesn't want to execute because of security settings in Adobe Acrobat Reader DC. Same code works in Adobe Acrobat Pro DC.

Enable global object security policy is off and Enable enhanced security.

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
January 14, 2020

This method is not allowed in Acrobat Reader.

January 14, 2020

Okay, that makes sense.

Is there any way then to check when person rotates document?

Legend
January 14, 2020

If they are using Reader, they can't rotate the document, so it doesn't apply. (They can rotate the view).