combit List & Label 25 - .NET Online Web Help
GetFieldHeightInformation Event

combit.ListLabel25 Namespace > DesignerObject Class : GetFieldHeightInformation Event
This event is only called if the Designer object is located inside a report container and is used for adjusting the height of the Designer object to print to fit the actual available height (see properties AvailableSpace and IdealHeight). The actual print of the Designer object is done in the DrawDesignerObject Event.
Public Event GetFieldHeightInformation As GetFieldHeightInformationHandler
public event GetFieldHeightInformationHandler GetFieldHeightInformation
event GetFieldHeightInformationHandler^ GetFieldHeightInformation
Event Data

The event handler receives an argument of type GetFieldHeightInformationEventArgs containing data related to this event. The following GetFieldHeightInformationEventArgs properties provide information specific to this event.

Returns the space (height) within the report container for one page which is available for printing. The unit is the currently defined List & Label unit (see UnitSystem Property).  
Graphics object of the Designer object. Graphics is provided as reference for coordinate transformations, drawing operations shouldn't be done here.  
Returns the initially available height of the defined List & Label units for the print (see UnitSystem Property). You can control when the Designer object has to make a page break on one page e.g. if the part to print is smaller than the actual size available so that List & Label can make a page break at the correct position.  
This property defines the minimal height a line within a report container table. This is necessary to check if something can be printed at all (page break). The unit is the currently defined List & Label unit (see UnitSystem Property).  

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also