CogOCVMaxPattern RemoveLine Method Cognex VisionPro 9.5
Removes the line specified by the supplied line iterator from the arrangement.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 69.0.0.0
Syntax

public void RemoveLine(
	CogOCVMaxLineIterator pTarget
)

Parameters

pTarget
Type: Cognex.VisionPro.OCVMax CogOCVMaxLineIterator
A CogOCVMaxLineIterator that specifies the line to remove. May not be NULL.
Events

Exceptions

ExceptionCondition
ArgumentNullExceptionIf pTarget argument is NULL.
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
ArgumentExceptionIf the supplied line iterator does not reference this CogOCVMaxPattern object.
InvalidOperationExceptionIf the line iterator does not specify a valid position.
Remarks

If line iterator references the only line in a paragraph, the entire paragraph is removed from the arrangement.

See Also