TCPDF::setPageOrientation( $orientation, $autopagebreak = '', $bottommargin = '' )
Set page orientation.
Description Description
Parameters Parameters
- $orientation
-
(Required) (string) page orientation. Possible values are (case insensitive):<ul><li>P or Portrait (default)</li><li>L or Landscape</li><li>'' (empty string) for automatic orientation</li></ul>
- $autopagebreak
-
(Optional) (boolean) Boolean indicating if auto-page-break mode should be on or off.
Default value: ''
- $bottommargin
-
(Optional) (float) bottom margin of the page.
Default value: ''
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
3.0.015 | Introduced. |