CogImage16RangeRoot SetMaskRoot Method Cognex VisionPro 9.22
Set the MaskRoot to a new value. In much the same way that one can set a pixel value in an image without causing a Changed event to fire, one may set the MaskRoot to a new value and no Changed event is fired.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 87.0.0.0
Syntax

public void SetMaskRoot(
	ICogImage8Root NewValue
)
Exceptions

ExceptionCondition
[System.ArgumentException] If the supplied mask root's width or height do not match those of the pixel root.
See Also