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: ''


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.015 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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