Clear Method

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
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 

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Web Assembly