Page 1 of 1

Different orientation in one report

Posted: Fri Jul 19, 2024 11:49 am
by orangeReportAndi
Hello,

In my report I have a different number of main images.
Every main image can have a variable number of sub images.
For example my first main image has three sub images while my second main image has two sub images, then want my report like this:
Section1: First main image
Section2: First sub image corresponding to first main image
Section3: Second sub image corresponding to first main image
Section4: Third sub image corresponding to first main image
Section5: Second main image
Section6: First sub image corresponding to second main image
Section7: Second sub image corresponding to second main image

I managed to achieve this by using data relations, see attachment dynamicReport_Portrait.

Now I want every image on a different page where the paper orientation of the main images are in portrait while the paper orientation of the sub images are in landscape.
I tried to achieve this by adding a second page and set the orientation accordingly.
Unfortunately I cant set the Master Component in this case as the databands are not on the same page (see attachment dynamicReport_Landscape)

Is there a way to do this?

Best regards,
orangeReportAndi

Re: Different orientation in one report

Posted: Mon Jul 22, 2024 2:14 pm
by Lech Kulikowski
Hello,

Please clarify what product and version are you use?
You can try to change pages ordering in the events code.

Thank you.

Re: Different orientation in one report

Posted: Mon Jul 22, 2024 2:55 pm
by orangeReportAndi
Hello,

I am using the following product and version:
Stimulsoft Designer
Version: 2023.1.6 from 25.January 2023, WinForms, .NET 4.7.2

Best regards

Re: Different orientation in one report

Posted: Wed Jul 24, 2024 8:56 pm
by Lech Kulikowski
Hello,

We need some time to prepare a sample for you.

Thank you.

Re: Different orientation in one report

Posted: Tue Jul 30, 2024 10:38 am
by Lech Kulikowski
Hello,

Please check the sample report.

Thank you.

Re: Different orientation in one report

Posted: Thu Aug 01, 2024 11:52 am
by orangeReportAndi
Thanks a lot!
This works.

Re: Different orientation in one report

Posted: Thu Aug 01, 2024 7:41 pm
by Lech Kulikowski
Hello,

You are welcome.

Re: Different orientation in one report

Posted: Mon Aug 05, 2024 5:26 am
by orangeReportAndi
Hello,

I have another issue which occurred when using your template in my report.
At the beginning of the report a title page needs to be displayed on the first page.
Then the main and sub pages in different orientations should be shown.
Unfortunately the title page is ignored when rendering the report.
I guess you have to modify the End Render Event of the report but I don't find a solution which also includes the title page.
I added an example.

I hope you can help me with that.

Best regards

Re: Different orientation in one report

Posted: Thu Aug 08, 2024 10:33 am
by Max Shamanov
Hello.

Sorry for the delay with an answer.
We need more time to prepare an answer for you.
We will let you know when we get any results.

Thank you.