Adobe ColdFusion 8

Deleting pages from a PDF document

Use the deletepages action to remove pages from a PDF document and write the result to a file. You can specify a single page, a page range (for example, "81-97"), or a comma-separated list of pages to delete, as the following example shows:

<cfpdf action="deletePages" source="myBook.pdf" pages="10-15,21,89"
    destination="abridged.pdf" overwrite="yes">

Protecting PDF files

Use the protect action to password-protect, set permissions, and encrypt PDF documents for security.