PDF page rotation without using UI

Alright I will check on this.

Thanks for the help!