CogInteractiveGraphicsContainer Remove Method (Int32)Cognex VisionPro 9.22
Removes the interactive graphic at specified index from the display

Namespace: Cognex.VisionPro.Display
Assembly: Cognex.VisionPro.Display.Controls (in Cognex.VisionPro.Display.Controls.dll) Version: 87.0.0.0 (87.0.0.0)
Syntax

public virtual void Remove(
	int Index
)

Parameters

Index
Type: System Int32
The index of the item to remove.
Exceptions

ExceptionCondition
ObjectDisposedException Thrown when the object is already disposed.
CogException Thrown when an invalid index is used.
See Also