Set data band maximum height
Hi, i am using a data band with the can grow and can shrink options to TRUE.
I need to ensure however that the data band does not exceed a certain space on paper.
Is there a way to set a maximum height for it?
Thanx in advance.
I need to ensure however that the data band does not exceed a certain space on paper.
Is there a way to set a maximum height for it?
Thanx in advance.
Comments
You may use the code attached to the band's AfterLayout event:
if (myBand.Height > Units.Centimeters * 10)
myBand.Height = Units.Centimeters * 10;