Skip to main content
Jan 14, 2020 9:58 AM UTC
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
Jan 14, 2020 10:04 AM UTC

This method is not allowed in Acrobat Reader.

Translate
Jan 14, 2020 10:38 AM UTC

Okay, that makes sense.

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

Translate
Legend
Jan 14, 2020 10:48 AM UTC

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

Translate