Image Viewer CP Pro ActiveX Control ReferenceMethods GetCountDrawPie Image Viewer CP ActiveX Control GetCountDrawPie Get the count of DrawPie. Public Function GetCountDrawPie()As Integer No Parameter Return Valuereturn the count of DrawPie.Example Visual Basic SyntaxiCount = ImageViewer1.GetCountDrawPieImageViewer1.ClearDrawPieByIndex iCount-1 'delete last item