setasign\Fpdi\PdfReader

PdfReader A PDF reader class

File: /FPDI v2/PdfReader/PdfReader.php

Class hierarchy

Summary

Properties

$pageCount

protected int PdfReader::$pageCount

$pages

Indirect objects of resolved pages.


Methods

__construct()

PdfReader constructor.

Parameters
$parser : \setasign\Fpdi\PdfParser\PdfParser
 

__destruct()

public PdfReader::__destruct (
void
): void

PdfReader destructor.

getParser()

Get the pdf parser instance.

getPdfVersion()

public PdfReader::getPdfVersion (
void
): string

Get the PDF version.

Exceptions

Throws \setasign\Fpdi\PdfParser\PdfParserException

readPages()

protected PdfReader::readPages (
void
): void

Walk the page tree and resolve all indirect objects of all pages.

Exceptions

Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException

Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException

Throws \setasign\Fpdi\PdfParser\PdfParserException