CogOCVMaxPattern RemoveCharacter Method Cognex VisionPro 9.7
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: 73.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
ArgumentNullExceptionIf pTarget argument is NULL.
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
ArgumentExceptionIf the supplied character iterator does not reference this CogOCVMaxPattern object.
InvalidOperationExceptionIf the character iterator does not specify a valid position.
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