Table of contents
Package: com\tecnick\tcpdf
Extends: Tcpdf
File: tcpdf.php line 8544
Tags
- class: TCPDF_ENGINE tc-lib-pdf engine specialization used by the TCPDF facade. Every page content stream starts from the PDF default graphics state, and the engine re-emits only the current font when it opens a page context (explicit addPage() and the automatic page breaks performed inside its flowing methods such as addTextCell()). The legacy TCPDF API instead carries ambient text state (text color, font spacing/stretching) across page breaks, so this subclass lets the facade re-emit that state at the start of every page the engine opens.
Properties
$pagecontexthook
File: tcpdf.php line 8552
public callable(): string|null $pagecontexthook = \null
Methods
setPageContext()
File: tcpdf.php line 8554
public setPageContext([int $pid = -1 ]) : void
Parameters
- $pid : int = -1