Image Viewer CP ActiveX Control

ClearDrawImageByIndex

 

Clear specific index of DrawImage.
 

Public Function ClearDrawImageByIndex( _
   ByVal iIndex As Integer
)As Bool

 

Parameter

iIndex
the first index is 0.

Return Value
True - Delete successful
FALSE - Failed

Example

   

Visual Basic Syntax
iCount = ImageViewer1.GetCountDrawImage
ImageViewer1.ClearDrawImageByIndex iCount-1  'delete last item