Rotate a PDF

Welcome to the Rotate guide. This guide will teach you how to rotate one or more PDF files easily.

The Rotate PDF tool, has no specific attributes so this guide will focus only on the basic method while recommend you to take a look at Common features guide for an advanced use of this tool.

Remember that all Tool Guides takes into account that you have previous knowledge about the Basics to process a PDF with our REST API but if not, we strongly recommend you to read the related guide before start with this one.

Basic Rotate PDF

Download the PHP library from GitHub
Download the Ruby library from GitHub
Download the .Net library from GitHub

As you can see, with setRotation(value) you set tha orientation value of your files. This function is useful for every tool and can be set with four oriontation values:

  • setRotation(0)
  • setRotation(90)
  • setRotation(180)
  • setRotation(270)