TCPDF::startPage( $orientation = '',  $format = '',  $tocpage = false )

Starts a new page to the document. The page must be closed using the endPage() function.


Description Description

The origin of the coordinate system is at the top-left corner and increasing ordinates go downwards.

See also See also

  • AddPage(),: endPage(), addTOCPage(), endTOCPage(), getPageSizeFromFormat(), setPageFormat()

Top ↑

Parameters Parameters

$orientation

(Optional) (string) page orientation. Possible values are (case insensitive):<ul><li>P or PORTRAIT (default)</li><li>L or LANDSCAPE</li></ul>

Default value: ''

$format

(Optional) (mixed) The format used for pages. It can be either: one of the string values specified at getPageSizeFromFormat() or an array of parameters specified at setPageFormat().

Default value: ''

$tocpage

(Optional) (boolean) if true the page is designated to contain the Table-Of-Content.

Default value: false


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.2.010 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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