splitPdf

splitPdf

ADVANCED / PREMIUM BASIC

Splits a PDF document.

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

This method allows you to split a PDF document.

Parameters

source

Path to the PDF document.

target

Path to the resulting split documents.

options

The possible keys and values are:

key Type Description
annotations bool Import annotations (links, comments and others). False as default.
pages array Pages to be split. All by default.
Code samples

Example #1