Access the brightness level of a particular channel.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.1.0.0
Syntax
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the brightness is changed. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | value is < 0 or value > 1.0. |
| ArgumentException | index is < 0 or index >= (number of camera channels). |
Remarks
Sets or gets the brightness level of a particular channel.
You can use CogAcqBrightness.Brightness to set the brightness of all channels to the same value.
Default Value: 0.5
See Also