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