setasign\Fpdi\PdfReader
Page Class representing a page of a PDF document
File: /FPDI v2/PdfReader/Page.php
Class hierarchy
Summary
Properties
$inheritedAttributes
Inherited attributes
$parser
Methods
__construct()
getAttribute()
Get a page attribute.
Parameters
- $name : string
- $inherited : bool
Exceptions
Throws \setasign\Fpdi\PdfParser\PdfParserException
Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException
getBoundary()
Get a boundary of this page.
Parameters
- $box : string
- $fallback : bool
Exceptions
Throws \setasign\Fpdi\PdfParser\PdfParserException
Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException
See
- PageBoundaries
getContentStream()
Get the raw content stream.
Exceptions
Throws PdfReaderException
Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException
getExternalLinks()
Get information of all external links on this page.
All coordinates are normalized in view to rotation and translation of the boundary-box, so that their origin is lower-left.
Parameters
- $box
getPageDictionary()
Get the dictionary of this page.
Exceptions
Throws \setasign\Fpdi\PdfParser\PdfParserException
Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException
getRotation()
Get the rotation value.
Exceptions
Throws \setasign\Fpdi\PdfParser\PdfParserException
Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException
getWidthAndHeight()
Get the width and height of this page.
Parameters
- $box : string
- $fallback : bool
Exceptions
Throws \setasign\Fpdi\PdfParser\PdfParserException
Throws \setasign\Fpdi\PdfParser\Type\PdfTypeException
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException