Sets the thumbnail text for a specific thumbnail element.
public void SetThumbnailText(
int thumbIndex,
string thumbText
)
thumbIndex
the index of the thumbnail to be updated.
thumbText
the new thumbnail text.
This example set the thumbnail elements text.
using Leadtools;
using Leadtools.Codecs;
using Leadtools.Web.Controls;
public void WebThumbnailViewer_SetThumbnailText(WebThumbnailViewer webThumbnailViewer)
{
ThumbnailInfo thumbInfo;
for (int i = 0; i < webThumbnailViewer.Count; i++)
{
thumbInfo = webThumbnailViewer.GetThumbnailInfo(i);
webThumbnailViewer.SetThumbnailText(i, string.Format("Page{0}", thumbInfo.Page));
}
}