removePagesPdf

removePagesPdf

ADVANCED / PREMIUM BASIC

Remove pages in a PDF document.

Description
public removePagesPdf (string $source, string $target, [array $options])

This method allows you to remove pages in a PDF document.

Parameters

source

Path to the PDF document.

target

Path to the resulting document.

options

The possible keys and values are:

key Type Description
pages array Pages to be removed, none by default.
Return values

Void.

Code samples

Example #1