Image Viewer CP ActiveX Control

ClearDrawTextByIndex

 

Clear specific index of DrawText.
 

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