CogIODiscreteElement TreatWarningAsReject Property Cognex VisionPro 9.23
When Property produces a Warning result, it will be treated as Reject when TreatWarningAsReject is set to true; Accept otherwise. It has no impact when Property generates a boolean result.

Namespace: Cognex.VisionPro.QuickBuild.IO
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 91.0.0.0 (91.0.0.0)
Syntax

public bool TreatWarningAsReject { get; set; }

Property Value

Type: Boolean
See Also