Skip to content

Novis\Pdf\Pages

Pages chosen from an existing PDF file. Pages::merge puts the chosen pages of several files into one file. To write new content on a page of a PDF file, add the file to a Document with withAsset.

Members

2 members.

MemberSignature
ofof(Core\Bytes::Source $pdf, ?array<uint> $pages = null): Pages
mergemerge(array<Pages> $parts): tainted bytes

Example apps

These complete apps use this class. You can download and run each one.

  • PDF documents: A small web app that makes three PDF files. They are an invoice, an encrypted report and event tickets. See each file, then run the app and its tests.