Image Viewer CP Gold SDK ActiveX Control ReferenceMethods GetCountDrawLine Image Viewer CP ActiveX Control GetCountDrawLine Get the count of DrawLine. Public Function GetCountDrawLine()As Integer No Parameter Return Valuereturn the count of DrawLine.Example Visual Basic SyntaxiCount = ImageViewer1.GetCountDrawLineImageViewer1.ClearDrawLineByIndex iCount-1 'delete last item