VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewer Class / ScrollToControl(Control) Method
Syntax Requirements SeeAlso
In This Topic
    ScrollToControl(Control) Method (ImageViewer)
    In This Topic
    Calculates the scroll offset to the specified child control.
    Syntax
    'Declaration
    
    Protected Overrides Function ScrollToControl( _
    ByVal activeControl
    The child control to scroll into view.
    As System.Windows.Forms.Control _
    ) As System.Drawing.Point
    protected override System.Drawing.Point ScrollToControl(
    System.Windows.Forms.Control activeControl
    )
    protected: System.Drawing.Point* ScrollToControl(
    System.Windows.Forms.Control* activeControl
    ); override
    protected:
    System.Drawing.Point^ ScrollToControl(
    System.Windows.Forms.Control^ activeControl
    ); override

    Parameters

    activeControl
    The child control to scroll into view.

    Return Value

    The upper-left hand System.Drawing.Point of the display area relative to the client area required to scroll the control into view.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also