Construct an instance of this class with the specified parameters.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
Parameters
- x
- Type: System Int32
The desired X origin.
- y
- Type: System Int32
The desired Y origin.
- width
- Type: System Int32
The desired width.
- height
- Type: System Int32
The desired height.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If you attempt to set Width to a negative value. |
| ArgumentOutOfRangeException | If you attempt to set Height to a negative value. |
See Also