Clear Method
Syntax
CWIMAQOverlay.Clear
Purpose
Clears the overlay.
Example
Private Sub Run_Click() 'Overlay an oval so we have something to clear Dim Oval As New CWIMAQOval Oval.Initialize 39, 45, 180, 89 CWIMAQViewer1.Image.Overlays(1).DrawOval Oval, cwimaqOverlayModePaint 'Clear the overlay CWIMAQViewer1.Image.Overlays(1).Clear End Sub