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