Links
Comment on page

Set print orientation-portrait

Function Prototype

setPortrait(): self

Example

$config = ['path' =>'./tests'];
$excel = new \Vtiful\Kernel\Excel($config);
$excel->fileName('printed_portrait.xlsx','sheet1')
->setPortrait() // Set the printing direction to portrait
->output();