Moving Region to next page, if it does not have more than x pixels below
I need to move a region to the next page, if the place after this region is less than i.e. 35mm. Is there a ready to use property or an example how to move this region to next page with RAP?
Comments
There is no built-in feature for the region to define a "new page threshold" as you need.
One option, which worked successfully in my testing, is to use a keeptogether child subreport as the container rather than a region. Then set the Subreport.StopPosition to the point on the page where it must break to a new page.
If you must use regions, you may need to generate the report once to find out if the region enters the 35mm threshold, then perhaps toggle a page break component and print again.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
MicrotronX - Speditionssoftware vom Profi
https://www.microtronx.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com