CogRectangle Union Method Cognex VisionPro 9.20
Creates a new rectangle which is the union of this by Other.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
Syntax

public CogRectangle Union(
	CogRectangle other,
	CogCopyShapeConstants copyFlags
)

Return Value

Type: CogRectangle

The union of this rectangle with other.

Events

Event TypeReason
CogRectangle Changed

Fires when the value of this property changes.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    other is NULL.

    Remarks

    Creates a new rectangle which is the union of this by Other.

    See Also