Table of contents
class TCPDF_ENGINE extends Tcpdf
Extends: Tcpdf
Source: tcpdf.php:9040
Properties
$htmltagallowhook
Facade callback returning true when an HTML <tcpdf> tag may call a method.
public callable|null $htmltagallowhook = \null
Source: tcpdf.php:9055
$htmltagcallhook
Facade callback running the method of an HTML <tcpdf> tag and returning its PDF code.
public callable|null $htmltagcallhook = \null
Source: tcpdf.php:9069
$htmltagobjecthook
Facade callback returning the object drawn by an HTML <tcpdf> tag, or null.
public callable|null $htmltagobjecthook = \null
Source: tcpdf.php:9062
$pagecontexthook
Facade callback returning the raw PDF operators for the ambient text state to prepend to every new page content stream.
public callable|null $pagecontexthook = \null
Source: tcpdf.php:9048
Methods
closeCellBBoxWindow()
Stop counting and return the number of cell bounding boxes added since the window was opened, and their largest bottom edge ordinate (-INF when none was added).
public closeCellBBoxWindow(int $window): array{count: int, bottom: float}
Parameters:
$window(int)
Returns: array{count: int, bottom: float}
Source: tcpdf.php:9166
openCellBBoxWindow()
Start counting the cell bounding boxes added by the engine.
public openCellBBoxWindow(): int
Returns: int: Window id to pass to closeCellBBoxWindow().
Source: tcpdf.php:9152
setPageContext()
public setPageContext(int $pid = -1): void
Parameters:
$pid(int)
Source: tcpdf.php:9108
setTextOffsetFromRight()
Make the first line offset of the next text cells trim the right side of the line for any base direction (right-to-left cursor positions).
public setTextOffsetFromRight(bool $enabled): void
Parameters:
$enabled(bool)
Source: tcpdf.php:9142