VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewer Class / SetFocusedIndexByLocation(Point,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
SetFocusedIndexByLocation(Point,Boolean) Method (ImageViewer)
In This Topic
Changes the FocusedIndex property to the index of image, which is located in specified point.
Syntax
'Declaration

Public Function SetFocusedIndexByLocation( _
ByVal location
The location in viewer (control) space.
As System.Drawing.Point, _
ByVal disableAutoScrollToPage
A value indicating whether the viewer should not scroll to the foused page automatically.
As Boolean _
) As Boolean
public bool SetFocusedIndexByLocation(
System.Drawing.Point location,
bool disableAutoScrollToPage
)

Parameters

location
The location in viewer (control) space.
disableAutoScrollToPage
A value indicating whether the viewer should not scroll to the foused page automatically.

Return Value

True if focused index is changed; otherwise, false.
Requirements

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

See Also