indexer

indexer (PDF)

ADVANCED / PREMIUM TRIAL

Return information from a PDF document.

Description
public indexer (string $source)

This class parses a PDF document and returns an array with these contents:

  • page_count
  • version
  • pages: annotations, orientation, size

Parameters

source

Path to the PDF document.

Return values

array

Exceptions

File doesn't exist.

Code samples

Example #1