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()
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
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
4.2.010 | Introduced. |