LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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.
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
)
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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also