Click or drag to resize

ThumbnailViewGetIndexAt Method

Returns the thumbnail index value from the specified client position.

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public int GetIndexAt(
	int x,
	int y
)

Parameters

x
Type: SystemInt32
The horizontal position.
y
Type: SystemInt32
The vertical position.

Return Value

Type: Int32
The index of the thumbnail in the specified position or -1 if no thumbnail was found.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown if the x or y parameters are not within the client area.
Remarks
The x and y parameters must be specified in client coordinates.
See Also