Skip to main content
January 14, 2020
Question

NotAllowedError for setPageRotations

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 is closed to new replies. Start a new post to keep the conversation going.

7 replies

Bernd Alheit
Community Expert
Community Expert
January 14, 2020

This method is not allowed in Acrobat Reader.

Translate
January 14, 2020

Okay, that makes sense.

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

Translate
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).

Translate