Sets the value of the pixel at the given location.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
Parameters
- x
- Type: System Int32
The pixel's x location.
- y
- Type: System Int32
The pixel's y location.
- value
- Type: System UInt16
The new value for the specified pixel
Exceptions
| Exception | Condition |
|---|---|
| ImageException | Allocate has not yet been called. |
| ImageException | x or y is outside the bounds of this image (less than 0, or greater than or equal to width or height) |
See Also