TCPDF_STATIC::setPageBoxes( $page,  $type,  $llx,  $lly,  $urx,  $ury,  $points = false,  $k,  $pagedim = array() )

Set page boundaries.


Description Description


Parameters Parameters

$page

(Required) (int) page number

$type

(Required) (string) valid values are: <ul><li>'MediaBox' : the boundaries of the physical medium on which the page shall be displayed or printed;</li><li>'CropBox' : the visible region of default user space;</li><li>'BleedBox' : the region to which the contents of the page shall be clipped when output in a production environment;</li><li>'TrimBox' : the intended dimensions of the finished page after trimming;</li><li>'ArtBox' : the page's meaningful content (including potential white space).</li></ul>

$llx

(Required) (float) lower-left x coordinate in user units.

$lly

(Required) (float) lower-left y coordinate in user units.

$urx

(Required) (float) upper-right x coordinate in user units.

$ury

(Required) (float) upper-right y coordinate in user units.

$points

(Optional) (boolean) If true uses user units as unit of measure, otherwise uses PDF points.

Default value: false

$k

(Required) (float) Scale factor (number of points in user unit).

$pagedim

(Optional) (array) Array of page dimensions.

Default value: array()


Top ↑

Return Return

(pagedim) array of page dimensions.


Top ↑

Source Source

File: includes/lib/tcpdf/include/tcpdf_static.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.0.010 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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