Image Viewer CP Gold SDK ActiveX Control ReferenceMethods ClearDrawLineByIndex Image Viewer CP ActiveX Control ClearDrawLineByIndex Clear specific index of DrawLine. Public Function ClearDrawLineByIndex( _ ByVal iIndex As Integer)As Bool Parameter iIndexthe first index is 0. Return ValueTrue - Delete successfulFALSE - FailedExample Visual Basic SyntaxiCount = ImageViewer1.GetCountDrawLineImageViewer1.ClearDrawLineByIndex iCount-1 'delete last item