displayDefaultOrientation
Default: false
If default page orientation is P
(portrait
), any L
(landscape
) pages in the document are displayed in Adobe Reader
rotated to appear in portrait. Reverse is true if default orientation is landscape.
Examples
<?php
// Require composer autoload
require_once __DIR__ . '/vendor/autoload.php';
$mpdf = new \Mpdf\Mpdf(['displayDefaultOrientation' => true]);