indexer

indexer (PDF)

ADVANCED / PREMIUM BASIC

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

Code samples

Example #1