I had to use
[code]$docx->modifyPageLayout('A4-landscape');[/code]
instead of
[code]$docx->createDocxAndDownload('_mydoc', array('orient' => 'landscape');[/code]
to force landscape mode of my document.
Issue ?
Many thanks
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it now