Is this page helpful?
public void EnsureVisible(
int thumbIndex
)
thumbIndex
The thumbnail item to scroll into view.
When you call this method the control will check if the thumbnail item referenced by thumbIndex is visible if it is visible nothing will change, but if not the control will scroll to this thumbnail item to make it visible.
This example ensures that the currently selected thumbnail is visible.
using Leadtools;
using Leadtools.Codecs;
using Leadtools.Web.Controls;
public void WebThumbnailViewer_EnsureVisible(WebThumbnailViewer webThumbnailViewer)
{
if (webThumbnailViewer.SelectedIndex != -1)
webThumbnailViewer.EnsureVisible(webThumbnailViewer.SelectedIndex);
}