ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design.Controls Namespace / LayoutUtils Class / GetGutter Method / GetGutter(IControlRendering,Control,Control) Method
An instance of the GrapeCity.ActiveReports.Design.DdrDesigner.ReportViewerWinForms.UI.IControlRendering to use to access the GrapeCity.ActiveReports.Design.DdrDesigner.ReportViewerWinForms.UI.ControlInfoFactory
The System.Windows.Forms.Control on the left side.
The System.Windows.Forms.Control on the right side.

In This Topic
    GetGutter(IControlRendering,Control,Control) Method
    In This Topic
    Gets the amount of gutter space there should be between two controls.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetGutter( _
       ByVal controlRendering As IControlRendering, _
       ByVal leftControl As Control, _
       ByVal rightControl As Control _
    ) As Integer
    public static int GetGutter( 
       IControlRendering controlRendering,
       Control leftControl,
       Control rightControl
    )

    Parameters

    controlRendering
    An instance of the GrapeCity.ActiveReports.Design.DdrDesigner.ReportViewerWinForms.UI.IControlRendering to use to access the GrapeCity.ActiveReports.Design.DdrDesigner.ReportViewerWinForms.UI.ControlInfoFactory
    leftControl
    The System.Windows.Forms.Control on the left side.
    rightControl
    The System.Windows.Forms.Control on the right side.

    Return Value

    The maximum amount of gutter spacing, in pixels at the current DPI, between the two controls.
    See Also