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