Image Viewer CP ActiveX Control

ClearDrawRectangleByIndex

 

Clear specific index of DrawRectangle.
 

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