TCPDF_ENGINE
class TCPDF_ENGINE extends Tcpdf (View source)
Properties
| Closure(): string|null | $pagecontexthook | Facade callback returning the raw PDF operators for the ambient text state to prepend to every new page content stream. |
Methods
void
setPageContext(int $pid = -1)
No description
void
anchorPageRegionsToContentTop(int $pid)
Anchor the page regions (columns) at the content top margin.
Details
void
setPageContext(int $pid = -1)
No description
protected void
anchorPageRegionsToContentTop(int $pid)
Anchor the page regions (columns) at the content top margin.
Pages opened by the engine's internal flows clone the previous page data, including regions that may start mid-page (legacy columns set on the page where they were defined): on every following page the columns restart at the top margin (legacy selectColumn() behavior). The region list of an existing page has no mutator, so the adjusted data is written directly into the page store.