Return a newly created paragraph iterator corresponding to the specified paragraph position within the same enclosing CogOCVMaxPattern object as this paragraph iterator. The argument is a positional offset from the current paragraph position, so a value of zero will yield a new paragraph iterator that is functionally identical to this one.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 75.1.0.0
Syntax
Parameters
- PositionOffset
- Type: System Int32
A System::Int32 that is added to the paragraph position index of this paragraph iterator to yield a new paragraph position index within the enclosing CogOCVMaxPattern object. If this computation results in a paragraph position index that is not valid, an exception is generated.
Return Value
Type: CogOCVMaxParagraphIteratorA CogOCVMaxParagraphIterator corresponding to the specified paragraph position within the containing CogOCVMaxPattern object.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the paragraph position index computed from the supplied argument is less than zero or greater than the number of paragraphs in the enclosing CogOCVMaxPattern object. |
| ObjectDisposedException | If the associated CogOCVMaxPattern object has already been disposed. |
| InvalidOperationException | If this paragraph iterator cannot be found. |
See Also