Calculate PageSize in Designer

Stimulsoft Reports.NET discussion
Post Reply
Andreas Tastler
Posts: 63
Joined: Fri Jul 17, 2009 5:00 am
Location: St. Gallen, Switzerland

Calculate PageSize in Designer

Post by Andreas Tastler »

Hi

While loading a StiReport, I extend a panel by code, adding some additional components. After that, the panel is much higher than before. I want to be sure that there will be enough space when opening in designer.
Is there any functionality to calculate the needed space for decision if the LargeHeight and LargeHeightFactor must be modified?

Thank you
Andreas
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Calculate PageSize in Designer

Post by Alex K. »

Hello,

There is no ready solution, but, in theory, this can be done using additional checks, but everything depends on your situation.

Thank you.
Andreas Tastler
Posts: 63
Joined: Fri Jul 17, 2009 5:00 am
Location: St. Gallen, Switzerland

Calculate PageSize in Designer

Post by Andreas Tastler »

Hi Aleksey

OK, thanks so I will calculate it by code. The sum of height from all containers which are placed directly on the page should do the trick.

Thank you
Andreas
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Calculate PageSize in Designer

Post by Alex K. »

Hello,

Ok.
Let us know if you need any additional help.

Thank you.
Post Reply