Rotate a single Page in PDF

A page might want to be oriented in a different direction for certain purposes, for better placement of contents and layout. You can rotate a selected page in a PDF document using this feature of PDF4me with ease.

Parameters

NameString, Required

Filename including extension.

DocumentBuffer, Required

PDF from which pages are to be rotated. The file should always be PDF. The file should be passed as a binary file.

Page NumberNumber, Required

Page to be rotated. A single number is allowed.

Rotation TypeOption, Required

Rotate direction for pages. The allowed values are

  • No Rotation (0°)
  • Clockwise (90°)
  • Upside Down (180°)
  • Counter Clockwise (270°)

Output

NameString

The name of the output file.

Doc DataBuffer

The output document in Base64 format.

Rotate a single Page in PDF module in Make