Set print orientation-portrait

Function Prototype

1
setPortrait(): self
Copied!

Example

1
$config = ['path' =>'./tests'];
2
$excel = new \Vtiful\Kernel\Excel($config);
3
4
$excel->fileName('printed_portrait.xlsx','sheet1')
5
->setPortrait() // Set the printing direction to portrait
6
->output();
Copied!
Copy link