CogIODiscreteElement TreatWarningAsReject Property Cognex VisionPro
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: 65.1.0.0 (65.1.0.0)
Syntax

public bool TreatWarningAsReject { get; set; }

Property Value

Type: Boolean
See Also