Page orientation

Stimulsoft Reports.Flex discussion
Locked
jorool
Posts: 44
Joined: Wed Dec 08, 2010 1:39 pm
Location: Brazil

Page orientation

Post by jorool »

How do I change page orientation on source code in flex?

I've tried the following code without success:

Code: Select all

var page:StiPage = reportButtons.report.pages[0];
page.Orientation = StiOrientation.Horizontal;
Thank you.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Page orientation

Post by Vladimir »

Hello,

Please use the following code:

Code: Select all

var page: StiPage = report.pages[0] as StiPage;
page.orientation = StiPageOrientation.Landscape;
Thank you.
jorool
Posts: 44
Joined: Wed Dec 08, 2010 1:39 pm
Location: Brazil

Page orientation

Post by jorool »

Hello, Vladimir!

I've tried this code too! But I could not auto import StiPage and StiPageOrientation packages.
I had to dig through the packages trying to find the correct path because its packages are not visible to me!
I've dowsnloades the version yesterday!

Thank you.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Page orientation

Post by Vladimir »

Hello,

We have included the visibility of all major classes in the new version 2011.1.905 from January 4, it will be available today within a few hours.

Thank you.
Locked