Creates a new rectangle which is the dilation of this by Other.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax
Parameters
- other
- Type: Cognex.VisionPro CogRectangle
The rectangle used to dilate this rectangle.
- copyFlags
- Type: Cognex.VisionPro CogCopyShapeConstants
Specify which attributes of the shape to copy to the new shape.
Return Value
Type: CogRectangleThe dilated rectangle.
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 that is the result of dilating this rectangle with another rectangle. The dilated rectangle is the area occupied by other as its origin traces the perimeter of this rectangle.
See Also