AutoDelete Property

NI Vision for Visual Basic

AutoDelete Property

Syntax

CWIMAQViewer.AutoDelete

Data Type

Boolean

Purpose

Boolean that specifies if existing regions are removed from the collection when you add a new region from the CWIMAQViewer user interface.

Remarks

Set this property to True to remove existing regions when you add a new region. Set this parameter to False to keep existing regions when you add a new region. The default value is True. This property applies only to a CWIMAQRegions collection obtained from the CWIMAQViewer. If this property is True, you can add new regions without removing existing regions by pressing the <Ctrl> key when you add the new region.