-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set up the page as landscape? #318
Labels
enhancement
New feature or request
Comments
Hi @greymanking, this library doesn't support to set page orientation currently. I will add this feature later. |
Hi @xuri, I am wondering when you could add the page orientation setup. 坐等。 |
xuri
added a commit
that referenced
this issue
Jan 6, 2019
Resolve #318, add new functions `SetPageLayout` and `GetPageLayout`
Hi @greymanking, excelize support set page orientation now, you can set that like this: xlsx := excelize.NewFile()
err := xlsx.SetPageLayout(
"Sheet1",
excelize.PageLayoutOrientation(excelize.OrientationLandscape),
) |
@xuri It just works. Thank u guys. |
nullfy
pushed a commit
to nullfy/excelize
that referenced
this issue
Oct 23, 2020
nullfy
pushed a commit
to nullfy/excelize
that referenced
this issue
Oct 23, 2020
Resolve qax-os#318, add new functions `SetPageLayout` and `GetPageLayout`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I must generate xlsx files which have more than ten columns and the page should be set as landscape to hold all the columns. I searched your source and all issues to figure out how to make it but failed. I am wondering if you guys can provide a way out. Thanks.
The text was updated successfully, but these errors were encountered: