Hi, I'm new here and I need some help.
I'm using the 08. Print table Sample of Working with report viewer for JavaScript.
All works fine, but I have a lot of columns and I would like to change the orientation of the page from Portrait to Landscape.
I searched some solutions, but I have no idea where I can change it.
If you could give me a hand, I'll appreciate.
Thanks!
Landscape Orientation in JS Report
-
- Posts: 789
- Joined: Tue Sep 07, 2021 10:11 am
Re: Landscape Orientation in JS Report
Hello,
please use the following code to change page orientation:
Thank you.
please use the following code to change page orientation:
Code: Select all
report.pages.list[0].orientation = Stimulsoft.Report.Components.StiPageOrientation.Landscape;
Re: Landscape Orientation in JS Report
Hi Max thank you for the reply it works perfectly!
Re: Landscape Orientation in JS Report
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.