ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design.Controls Namespace / LayoutUtils Class / GetGap Method
The control previously laid out in the container. May be null.
The control requesting the gap information.

In This Topic
    GetGap Method
    In This Topic
    Gets the gap between the top of the current control and the bottom of the previous control.
    Syntax
    'Declaration
     
    Public Shared Function GetGap( _
       ByVal controlRendering As IControlRendering, _
       ByVal previousControl As Control, _
       ByVal currentControl As Control _
    ) As Integer
    public static int GetGap( 
       IControlRendering controlRendering,
       Control previousControl,
       Control currentControl
    )

    Parameters

    controlRendering
    previousControl
    The control previously laid out in the container. May be null.
    currentControl
    The control requesting the gap information.

    Return Value

    Returns the amount of gap padding to put above the currentControl.
    See Also