setasign\Fpdi\PdfReader

PdfReader A PDF reader class

File: /FPDI v2/PdfReader/PdfReader.php

Class hierarchy

Summary

Properties

$pageCount

protected int PdfReader::$pageCount

Methods

__construct()

PdfReader constructor.

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

__destruct()

public PdfReader::__destruct (
void
): void

PdfReader destructor.

getPage()

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 (
[ bool $readAll = false ]
): void

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

Parameters
$readAll : bool
 
Exceptions

Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException

Throws \setasign\Fpdi\PdfParser\PdfParserException

Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException