VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.UI Namespace / ImageViewer Class / SetFocusedIndexByLocation Method
The location in viewer (control) space.
Indicates that viewer should not scroll to the foused page automatically.



In This Topic
    SetFocusedIndexByLocation Method (ImageViewer)
    In This Topic
    Changes the the FocusedIndex property to the index of image, which is located in specified point.
    Syntax
    'Declaration
     
    Public Function SetFocusedIndexByLocation( _
       ByVal location As Point, _
       ByVal disableAutoScrollToPage As Boolean _
    ) As Boolean
    public bool SetFocusedIndexByLocation( 
       Point location,
       bool disableAutoScrollToPage
    )
    public: bool SetFocusedIndexByLocation( 
       Point location,
       bool disableAutoScrollToPage
    ) 
    public:
    bool SetFocusedIndexByLocation( 
       Point location,
       bool disableAutoScrollToPage
    ) 

    Parameters

    location
    The location in viewer (control) space.
    disableAutoScrollToPage
    Indicates that viewer should not scroll to the foused page automatically.

    Return Value

    Returns true if focused index is changed; otherwise, false.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also