C1.C1Report Namespace > Section Class : CanGrow Property |
You can use the CanGrow and CanShrink properties to control the appearance of report sections and fields.
For example, if you set both properties to true, a section or field automatically adjusts vertically to print or preview all the data it contains.
Sections grow and shrink vertically across their entire width.
When a section grows or shrinks, its Height property does not change. To retrieve the actual rendering height, use the RenderHeight property.
You can make fields grow or shrink to match the size of the section by setting their Field.Anchor property.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2