Manuals

 

Info

FPDF_TPL is FREE!

If you find FPDF_TPL useful and want to encourage development or express your appreciation you can donate via PayPal.

donate via PayPal


FPDF_TPL::beginTemplate()

Description

class FPDF_TPL extends FPDF {
integer beginTemplate ( [float $x[, float $y[, float $w[, float $h]]]] ) }

Starts a template and returns the id for later use.

Parameters

If a parameter is == null, the information of current page are used.
All parameters are expressed in user unit.

$x

Abscissa of the upper-left corner.

$y

Ordinate of the upper-left corner.

$w

width of the template

$h

height of the template

Return Values

The id of the new template.