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