←Select platform

Clear Method (WebThumbnailViewer)

Summary

Removes all thumbnail elements from the WebThumbnailViewer control.

Syntax

C#
VB
C++
public void Clear()
Public Sub Clear()
public: 
void Clear(); 

Example

This example clears the thumbnails if there any.

C#
VB
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 
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.Web.Controls; 
 
public void WebThumbnailViewer_Clear(WebThumbnailViewer webThumbnailViewer) 
{ 
   if(webThumbnailViewer.Count > 1) 
   { 
      webThumbnailViewer.Clear(); 
   } 
} 

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Web Assembly
Click or drag to resize