class FPDI extends FPDF_TPL {
array useTemplate ( integer $tplidx[, float $x=null[, float $y=null[, float $w=0[, float $h=0[, boolean $adjustPageSize=false]]]]] ) }
If an optional parameter is left, the information of the page/template are used.
All parameters are expressed in user unit.
If only one explicit dimension is given, the other is calculated automatically so that the original proportions are kept. For internal calculation getTemplateSize() is used.
A valid id of template returned from FPDI::importPage(), FPDF_TPL::beginTemplate() or FPDF_TPL::endTemplate()
Abscissa of the upper-left corner.
Ordinate of the upper-left corner.
Width of the template in the page. If not specified or equal to zero, it is automatically calculated.
Height of the template in the page. If not specified or equal to zero, it is automatically calculated.
If this parameter is set to true the page size will be adjusted to the size of the imported page.
Array with w(idth) and h(eight) of the template. (See getTemplateSize())
$adjustPageSize was added in version 1.3