CogOCVMaxParagraphIterator MoveToPosition Method Cognex VisionPro 9.10
Move the paragraph iterator to the specified position within the containing CogOCVMaxPattern object. If the argument is zero, move to the first paragraph position in the CogOCVMaxPattern object. If the argument is -1, move to the end paragraph position in the CogOCVMaxPattern object. An exception is generated if the argument is not valid.

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

public void MoveToPosition(
	int Position
)

Parameters

Position
Type: System Int32
A System::Int32 index into the enclosing CogOCVMaxPattern object.
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the argument is less than -1 or greater than the number of paragraphs in the enclosing CogOCVMaxPattern object.
InvalidOperationExceptionIf this paragraph iterator cannot be found.
ObjectDisposedExceptionIf the associated CogOCVMaxPattern object has already been disposed.
See Also