ComponentOne VSView Reporting Edition
RenderHeight Property (Field)

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

Syntax

field.RenderHeight[ = value As Double ]

Remarks

The Height property specifies the design height of a Field. When the CanGrow or CanShrink properties of the Field are set to true, however, this value is adjusted to account for the contents of the field. The RenderHeight property returns the adjusted height value, which can be used within event handlers to adjust the position of other fields within the section.

This value is calculated after the OnFormat script event fires (so any changes the script takes 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