How can i delete overlay using SetOverlay method in Smart Client.

hi~

I made bitmap image and then drew the bitmap image at Live video of the Smart Clinet using “SetOverlay” method.

I want to delete the bitmap image at Live video of the Smart Clinet when i try to draw next bitmap image.

Is it possible?

please help me!!

Just as there is a SetOverlay there is a ClearOverlay..

MIP Environment: VideoOS.Platform.Client.ImageViewerAddOn Class Reference

virtual void VideoOS.Platform.Client.ImageViewerAddOn.ClearOverlay(int id ) [inline, virtual]

Clear a specific overlay placed earlier. The id used during the SetOverlay() call is used in this method for clearing that overlay again.

Parameters:

id

--

Note. It is recommended instead to use the new overlay methods using shapes instead, the new methods have a much better performance.

MIP Environment: VideoOS.Platform.Client.ImageViewerAddOn Class Reference

virtual Guid ShapesOverlayAdd (List< Shape > overlayShapes, ShapesOverlayRenderParameters renderParameters)

Method to add overlay shapes.

virtual void ShapesOverlayRemove (Guid id)

virtual bool ShapesOverlayUpdate (Guid id, List< Shape > overlayShapes, ShapesOverlayRenderParameters renderParameters)

virtual bool ShapesOverlayUpdate (Guid id, ShapesOverlayRenderParameters renderParameters)

virtual bool ShapesOverlayUpdate (Guid id, List< Shape > overlayShapes)

In MIP SDK 2017 R2 the samples will be using these new methods instead.

Thanks for good information!!