Sets the thumbnail text for a specific thumbnail element.
public void SetThumbnailText(int thumbIndex,string thumbText)
Public Sub SetThumbnailText( _ByVal thumbIndex As Integer, _ByVal thumbText As String _)
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));}}
Imports LeadtoolsImports Leadtools.CodecsImports Leadtools.ImageProcessingImports Leadtools.Web.ControlsPublic Sub WebThumbnailViewer_SetThumbnailText(ByVal webThumbnailViewer As WebThumbnailViewer)Dim thumbInfo As ThumbnailInfoFor i As Integer = 0 To webThumbnailViewer.Count Step 1thumbInfo = webThumbnailViewer.GetThumbnailInfo(i)webThumbnailViewer.SetThumbnailText(i, String.Format("Page{0}", thumbInfo.Page))Next iEnd Sub
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
