Set print orientation-landscape

Function Prototype

1
setPrintedLandscape(): self
Copied!

Example

1
$config = ['path' =>'./tests'];
2
$excel = new \Vtiful\Kernel\Excel($config);
3
4
$excel->fileName('printed_landscape.xlsx','sheet1')
5
->setPrintedLandscape() // Set the printing direction to landscape
6
->output();
Copied!
Last modified 9mo ago
Copy link