Different orientation in one report
-
- Posts: 4
- Joined: Fri Jul 19, 2024 10:01 am
Different orientation in one report
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
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
- Attachments
-
- reportdata.xml
- (164.09 KiB) Downloaded 800 times
-
- dynamicReport_Portrait.mrt
- (16.69 KiB) Downloaded 832 times
-
- dynamicReport_Landscape.mrt
- (17.27 KiB) Downloaded 911 times
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Different orientation in one report
Hello,
Please clarify what product and version are you use?
You can try to change pages ordering in the events code.
Thank you.
Please clarify what product and version are you use?
You can try to change pages ordering in the events code.
Thank you.
-
- Posts: 4
- Joined: Fri Jul 19, 2024 10:01 am
Re: Different orientation in one report
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
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
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Different orientation in one report
Hello,
We need some time to prepare a sample for you.
Thank you.
We need some time to prepare a sample for you.
Thank you.
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Different orientation in one report
Hello,
Please check the sample report.
Thank you.
Please check the sample report.
Thank you.
- Attachments
-
- dynamicReport_Landscapev2.mrt
- (165.06 KiB) Downloaded 677 times
-
- Posts: 4
- Joined: Fri Jul 19, 2024 10:01 am
Re: Different orientation in one report
Thanks a lot!
This works.
This works.
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Different orientation in one report
Hello,
You are welcome.
You are welcome.
-
- Posts: 4
- Joined: Fri Jul 19, 2024 10:01 am
Re: Different orientation in one report
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
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
- Attachments
-
- reportdata.xml
- (164.09 KiB) Downloaded 668 times
-
- dynamicReport_Landscapev2.mrt
- (176.22 KiB) Downloaded 691 times
-
- Posts: 990
- Joined: Tue Sep 07, 2021 10:11 am
Re: Different orientation in one report
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.
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.