Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.ImageProcessing
Imports Leadtools.Web.Controls
Public Sub WebThumbnailViewer_SetThumbnailText(ByVal webThumbnailViewer As WebThumbnailViewer)
Dim thumbInfo As ThumbnailInfo
For i As Integer = 0 To webThumbnailViewer.Count Step 1
thumbInfo = webThumbnailViewer.GetThumbnailInfo(i)
webThumbnailViewer.SetThumbnailText(i, String.Format("Page{0}", thumbInfo.Page))
Next i
End Sub
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));
}
}