Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Remove Method
See Also 
Leadtools.Web.Controls Namespace > WebThumbnailViewer Class : Remove Method




firstIndex
The 0-based index of the first thumbnail to remove.
lastIndex
The 0-based index of the last thumbnail to remove. Must be greater than or equal to firstIndex. You can pass -1 to remove from firstIndex to the last thumbnail index in the WebThumbnailViewer control.
Removes one thumbnail or a group of thumbnails from the WebThumbnailViewer control.

Syntax

Visual Basic (Declaration) 
Public Sub Remove( _
   ByVal firstIndex As Integer, _
   ByVal lastIndex As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As WebThumbnailViewer
Dim firstIndex As Integer
Dim lastIndex As Integer
 
instance.Remove(firstIndex, lastIndex)
C# 
public void Remove( 
   int firstIndex,
   int lastIndex
)
Managed Extensions for C++ 
public: void Remove( 
   int firstIndex,
   int lastIndex
) 
C++/CLI 
public:
void Remove( 
   int firstIndex,
   int lastIndex
) 

Parameters

firstIndex
The 0-based index of the first thumbnail to remove.
lastIndex
The 0-based index of the last thumbnail to remove. Must be greater than or equal to firstIndex. You can pass -1 to remove from firstIndex to the last thumbnail index in the WebThumbnailViewer control.

Example

Refer to Insert

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also