Performing page level transformations

You can scale a page, specify the position, and rotation values for pages in a PDF document using the transform action. This action has four attributes that define the size (hscale, vscale), position(position), and rotation (rotation) of a page. The following code snippet shows the usage. The value for rotation needs to be in steps (0, 90, 180, 270). If you specify any other value, the system generates an error.

<cfpdf action = "transform" 
source = "..\myBook.pdf" 
destination = "..\new\myBook.pdf"> 
hscale = ".5" 
vscale = ".15" 
position = "8, 10" 
rotation = "180">