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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Web Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.