Image Viewer CP ActiveX Control

ClearDrawLineByIndex

 

Clear specific index of DrawLine.
 

Public Function ClearDrawLineByIndex( _
   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.GetCountDrawLine
ImageViewer1.ClearDrawLineByIndex iCount-1  'delete last item