Image Viewer CP ActiveX Control

GetCountDrawLine

 

Get the count of DrawLine.
 

Public Function GetCountDrawLine()As Integer

 

No Parameter

Return Value
return the count of DrawLine.

Example

   

Visual Basic Syntax
iCount = ImageViewer1.GetCountDrawLine
ImageViewer1.ClearDrawLineByIndex iCount-1  'delete last item