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
 

getPage()

public PdfReader::getPage (
int $pageNumber
): Page

Get a page instance.

Parameters
$pageNumber : int
 

getPageCount()

public PdfReader::getPageCount (
void
): int

Get the page count.

getParser()

Get the pdf parser instance.

getPdfVersion()

public PdfReader::getPdfVersion (
void
): string

Get the PDF version.

readPages()

protected PdfReader::readPages (
void
): void

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