ComponentOne VSView Reporting Edition
RenderHeight Property (Section)

Returns the height of the section after it has been modified to accommodate CanGrow/CanShrink fields.

Syntax

section.RenderHeight[ = value As Double ]

Remarks

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.

Data Type

Double

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback