Links

设置打印方向 - 横向

函数原型

setLandscape(): self

实例

$config = ['path' => './tests'];
$excel = new \Vtiful\Kernel\Excel($config);
$excel->fileName('printed_landscape.xlsx', 'sheet1')
->setLandscape() // 设置打印方向为横向
->output();