VSView Reporting Edition Reference > Section Object > Section Properties > RenderHeight Property (Section) |
Returns the height of the section after it has been modified to accommodate CanGrow/CanShrink fields.
section.RenderHeight[ = value As Double ]
The Height property specifies the design height of a Section. When the CanGrow or CanShrink properties of the Section are set to true, however, this value is adjusted to account for the size of the fields within the section. The RenderHeight property returns the adjusted height value, which can be used within event handlers to adjust the position of fields within the section.
This value is calculated after the OnFormat script event fires (so any changes the script makes to the field are accounted for), but before the OnPrint event fires. Therefore, you can only use RenderHeight when handling the OnPrint event.
Double