Autosize height property on all DataWindow bands

In DataWindow .NET 2.0, the Height.Autosize property can be set on any band of a DataWindow. In earlier DataWindow .NET releases, this property was available only for the Detail band.

NoteRestrictions on the Height.Autosize property

Selecting the Height.Autosize property sets the minimum height for the band, allowing it to display the entire content of a picture or a nested report. You can select this property on the General tab of the Properties view for a DataWindow band. At runtime you can modify the Height.Autosize property for a DataWindow band in code:

dw_2.modify ("DataWindow.header.height.autosize=yes")
dw_2.modify ("DataWindow.footer.height.autosize=no")

For more information, see the description of Bandname.property in the DataWindow Object Reference or the online Help.