Image Viewer CP ActiveX Control

GetCountDrawRectangle

 

Get the count of DrawRectangle.
 

Public Function GetCountDrawRectangle()As Integer

 

No Parameter

Return Value
return the count of DrawRectangle.

Example

   

Visual Basic Syntax
iCount = ImageViewer1.GetCountDrawRectangle
ImageViewer1.ClearDrawRectangleByIndex iCount-1  'delete last item