TCPDF::endTemplate()
End the current XObject Template started with startTemplate() and restore the previous graphic state.
Description Description
An XObject Template is a PDF block that is a self-contained description of any sequence of graphics objects (including path objects, text objects, and sampled images). An XObject Template may be painted multiple times, either on several pages or at several locations on the same page and produces the same results each time, subject only to the graphics state at the time it is invoked.
See also See also
- startTemplate(),: printTemplate()
Return Return
(int) the XObject Template ID in case of success or false in case of error.
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
5.8.017 | Introduced. |