Making content to fill the page
Posted: Tue Aug 18, 2009 6:23 am
Hi,
In a few cases, I want the content to scale and fill the page vertically.
Is there a way to do that?
For horizontal filling, I use docking (although I would like to change the size of text boxes together some of the time, but I can only have one textbox with its dock property set to "Fill", so the change in page size only affects one column, not all of them)
But for vertical filling, it depends on the number of records.
As an example, I have a data band which is bound to a data source. It can have between 20 and 30 records.
Right now, I have to set the height of the band to an amount which is appropriate for 30 records, so that all of them can fit in a single page.
But if there's less than 30 (like 20) records, 1/3 of the page will be left blank.
I know about the empty band, it's not what I want. I want the whole content to strech and fill the page (similar to increasing the hight of the data band to an appropriate amount)
Is there a way to do so?
Thanks in advance,
-Hamed