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