设置打印方向 - 纵向

优质
小牛编辑
126浏览
2023-12-01
setPrintedPortrait(): self

实例
$config = ['path' => './tests'];
$excel  = new \Vtiful\Kernel\Excel($config);
​
$excel->fileName('printed_portrait.xlsx', 'sheet1')
    ->setPrintedPortrait() // 设置打印方向为纵向
    ->output();