PHP-Xlswriter
Github
Gitee
Pecl
Search
⌃
K
Links
Why use xlswriter
English
Install
Quick start
Read file
Chart
Cell
Memory model
Worksheet
Style
Download
Style list
CSV
Printed
Set print orientation-landscape
Set print orientation-portrait
Assistant functions
Project recommendation
中文简体
项目推荐
Powered By
GitBook
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
();
Previous
Set print orientation-landscape
Next
Assistant functions
Last modified
1yr ago