CogOCRMaxTuneData RemoveTuneRecord Method Cognex VisionPro
Removes a record from the tune data.

After calling this function the TuneData will be in the "untuned" state.

In order to re-enter the tuned state the user shold call the Tune() function.

Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 65.1.0.0
Syntax

public void RemoveTuneRecord(
	int index
)

Parameters

index
Type: System Int32
The index of the Tune Record to remove.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this function is called.

The following state flag may be affected:

  • SfTuned
Exceptions

ExceptionCondition
IndexOutOfRangeException
  • Thrown if index is outside the valid range of Tune Records.
See Also