Image Viewer CP ActiveX Control

GetCountDrawText

 

Get the count of DrawText.
 

Public Function GetCountDrawText()As Integer

 

No Parameter

Return Value
return the count of DrawRectangle.

Example

   

Visual Basic Syntax
iCount = ImageViewer1.GetCountDrawText
ImageViewer1.ClearDrawTextByIndex iCount-1  'delete last item