CogOCVMaxPattern RemoveCharacter Method Cognex VisionPro 9.20
Removes the character specified by the supplied character iterator from the arrangement.

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

public void RemoveCharacter(
	CogOCVMaxCharacterIterator pTarget
)

Parameters

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

Exceptions

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

If the character iterator references the only character in a line, the line is removed from the arrangement. If that line was the only line in its paragraph, that paragraph is removed from the arrangement.
See Also