Initialize the image with (undefined) pixel data of the given width and height. This method may not be called more than once.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.25.1.0
Syntax
Parameters
- width
- Type: System Int32
The desired width of the image in pixels.
- height
- Type: System Int32
The desired height of the image in pixels.
Exceptions
| Exception | Condition |
|---|---|
| ImageException | The image is already allocated to a different size. |
| ArgumentException | width or height is less than or equal to 0. |
See Also