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
pages array Pages to be split, all by default.
Code samples

Example #1