combit List & Label 29 - .NET Help
combit.Reporting Namespace / DesignerObject Class / GetFieldHeightInformation Event


In This Topic
    GetFieldHeightInformation Event
    In This Topic
    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.
    Syntax
    'Declaration
     
    
    Public Event GetFieldHeightInformation As GetFieldHeightInformationHandler
    public event GetFieldHeightInformationHandler GetFieldHeightInformation
    public:
    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.

    PropertyDescription
    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 Unit 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 Unit 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 Unit Property).  
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also