setasign\Fpdi\PdfReader
PdfReader A PDF reader class
File: /FPDI v2/PdfReader/PdfReader.php
Class hierarchy
Summary
Properties
$pageCount
protected int PdfReader::$pageCount
$pages
protected \setasign\Fpdi\PdfParser\Type\PdfIndirectObjectReference[]|\setasign\Fpdi\PdfParser\Type\PdfIndirectObject[] PdfReader::$pages = array()
Indirect objects of resolved pages.
$parser
protected \setasign\Fpdi\PdfParser\PdfParser PdfReader::$parser
Methods
__construct()
getPage()
Get a page instance.
Parameters
- $pageNumber : int
Exceptions
Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException
Throws \setasign\Fpdi\PdfParser\PdfParserException
Throws \InvalidArgumentException
getPageCount()
Get the page count.
Exceptions
Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException
readPages()
Walk the page tree and resolve all indirect objects of all pages.
Parameters
- $readAll : bool
Exceptions
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException