Automatic page height scaling
-
- Posts: 4
- Joined: Tue Dec 10, 2024 1:37 am
Automatic page height scaling
how can i get the page content height
-
- Posts: 4
- Joined: Tue Dec 10, 2024 1:37 am
Re: Automatic page height scaling
For example, if the page size is set to A4 and the height of the data area on the previewed page cannot reach A4, how to make the height of the previewed page automatically change according to the height of the data area
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Automatic page height scaling
Hello,
Please check the sample report in the attachment. It will work only in the Compilation mode.
Thank you.
Please check the sample report in the attachment. It will work only in the Compilation mode.
Thank you.
- Attachments
-
- Dynamical page height 2.mrt
- (780.45 KiB) Downloaded 94 times
-
- Posts: 4
- Joined: Tue Dec 10, 2024 1:37 am
Re: Automatic page height scaling
Hello, thank you very much for your reply. This doesn't seem to be the effect I wanted, it doesn't have pagination. Let me describe my requirements again, such as setting the page size to A4 size, which is 21 centimeters wide and 29.7 centimeters high. Then there is a data area on the page with a height of 35 centimeters, so it should be displayed on two pages. The height of the first page is 29.7 centimeters, and the height of the second page is only 5.3 centimeters. That means the last page will automatically shrink according to the height of the data area.Lech Kulikowski wrote: ↑Tue Dec 17, 2024 8:59 pm Hello,
Please check the sample report in the attachment. It will work only in the Compilation mode.
Thank you.
Best regards.Thanks.
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Automatic page height scaling
Hello,
Unfortunately, it is not possible in the report. You can create such report directly from the code:
https://www.stimulsoft.com/en/samples/r ... at-runtime
Thank you.
Unfortunately, it is not possible in the report. You can create such report directly from the code:
https://www.stimulsoft.com/en/samples/r ... at-runtime
Thank you.
-
- Posts: 4
- Joined: Tue Dec 10, 2024 1:37 am
Re: Automatic page height scaling
Thank you very much for your patient answer. I seem to understand now. I know the minimum height of the page, and it seems that this effect can also be achieved
Best Regards.Thanks.
Best Regards.Thanks.
-
- Posts: 7333
- Joined: Tue Mar 20, 2018 5:34 am
Re: Automatic page height scaling
Hello,
You are welcome.
You are welcome.