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.
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
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));}}
|
Products |
Support |
Feedback: SetThumbnailText Method - Leadtools.Web |
Introduction |
Help Version 19.0.2017.3.22
|

Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.