Image Viewer CP Gold SDK ActiveX Control ReferenceMethods ClearDrawFillPieByIndex Image Viewer CP ActiveX Control ClearDrawFillPieByIndex 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