FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / SubSection Class / RenderHeight Property

In This Topic
    RenderHeight Property (SubSection)
    In This Topic
    Returns the height of the sub-section after the AutoHeight property has been applied to the section. Getting this property can throw an exception if the height of sections was not calculated yet, for example if you access the RenderHeight of the report footer while the report header is being rendered.
    Syntax
    'Declaration
     
    Public ReadOnly Property RenderHeight As Double
    public double RenderHeight {get;}
    Remarks

    When a sub-section grows or shrinks, its Height property does not change.

    If you need to retrieve the actual height that will be used to rendering the sub-section (for example in the PrintSection event), use the RenderHeight property instead.

    See Also