Clear Method
Summary
Removes all thumbnail elements from the
WebThumbnailViewer control.
Example
This example clears the thumbnails if there any.
using Leadtools;
using Leadtools.Codecs;
using Leadtools.Web.Controls;
public void WebThumbnailViewer_Clear(WebThumbnailViewer webThumbnailViewer)
{
if (webThumbnailViewer.Count > 1)
{
webThumbnailViewer.Clear();
}
}
Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.Web.Controls
Public Sub WebThumbnailViewer_Clear(ByVal webThumbnailViewer As WebThumbnailViewer)
If (webThumbnailViewer.Count > 1) Then
webThumbnailViewer.Clear()
End If
End Sub