Creates a new rectangle which is the union of this by Other.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax
Parameters
- other
- Type: Cognex.VisionPro CogRectangle
The other rectangle.
- copyFlags
- Type: Cognex.VisionPro CogCopyShapeConstants
Specify which attributes of this rectangle to copy to the new rectangle.
Return Value
Type: CogRectangleThe union of this rectangle with other.
Events
| Event Type | Reason |
|---|---|
| CogRectangle Changed | Fires when the value of this property changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | other is NULL. |
Remarks
Creates a new rectangle which is the union of this by Other.
See Also