Leadtools.Web.Controls Namespace > WebThumbnailViewer Class : SetThumbnailText Method |
public void SetThumbnailText( int thumbIndex, string thumbText )
'Declaration Public Sub SetThumbnailText( _ ByVal thumbIndex As Integer, _ ByVal thumbText As String _ )
'Usage Dim instance As WebThumbnailViewer Dim thumbIndex As Integer Dim thumbText As String instance.SetThumbnailText(thumbIndex, thumbText)
public void SetThumbnailText( int thumbIndex, string thumbText )
function Leadtools.Web.Controls.WebThumbnailViewer.SetThumbnailText( thumbIndex , thumbText )
public: void SetThumbnailText( int thumbIndex, String^ thumbText )
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
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)); } }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2