removeImage()

ICE Data Services -

removeImage()
Previous  Top  Next


removeImage( tagID )

Remove a specific image object originally drawn by drawImageRelative() or drawImageAbsolute(). The object is identified by its tagID.

Parameters

tagID
the unique ID of the image object to remove


Usage

function main() {

   ...
   ...

   
if ( getBarState() == BARSTATE_NEWBAR ) {

      
//remove a specific image object from the chart. We we originally
      
//drew this image object, we gave it a tagID of 201 so that we 
      
//could identify it later.
      removeImage( 
201 );


   }

}