Image Viewer CP Pro ActiveX Control ReferenceMethods GetCountDrawText Image Viewer CP ActiveX Control GetCountDrawText Get the count of DrawText. Public Function GetCountDrawText()As Integer No Parameter Return Valuereturn the count of DrawRectangle.Example Visual Basic SyntaxiCount = ImageViewer1.GetCountDrawTextImageViewer1.ClearDrawTextByIndex iCount-1 'delete last item