TCPDF::startTemplate( $w,  $h,  $group = false )

Start a new XObject Template.


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. Note: X,Y coordinates will be reset to 0,0.

See also See also


Top ↑

Parameters Parameters

$w

(Required) (int) Template width in user units (empty string or zero = page width less margins).

$h

(Required) (int) Template height in user units (empty string or zero = page height less margins).

$group

(Optional) (mixed) Set transparency group. Can be a boolean value or an array specifying optional parameters: 'CS' (solour space name), 'I' (boolean flag to indicate isolated group) and 'K' (boolean flag to indicate knockout group).

Default value: false


Top ↑

Return Return

(int) the XObject Template ID in case of success or false in case of error.


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.8.017 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.