ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Section Class / SizeToFit Method / SizeToFit(Boolean) Method
Set to True to allow the section to shrink to fit the contained controls.

In This Topic
    SizeToFit(Boolean) Method
    In This Topic
    Sizes the section to fit the contained controls and optionally allows the section to shrink to fit the contained controls.
    Syntax
    'Declaration
     
    Public Overloads Sub SizeToFit( _
       ByVal bAllowShrink As Boolean _
    ) 
    public void SizeToFit( 
       bool bAllowShrink
    )

    Parameters

    bAllowShrink
    Set to True to allow the section to shrink to fit the contained controls.
    See Also