Moves the iterator to the previous position, loading that item's properties into this iterator. If there are no items before this, an error is returned. To avoid getting errors, you may wish to check IsFirst.
Namespace: Cognex.VisionPro.Implementation.InternalAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
Syntax
Implements
ICogGeneralContourEllipticalArcSegmentIterator MoveToPreviousExceptions
| Exception | Condition |
|---|---|
| CogIteratorEndOfContainerException | The iterator is at the beginning. (IsFirst is True.) |
| CogIteratorInvalidIteratorException | The iterator is not valid because the item set has changed. For example, the iterator is pointing to an item that was removed from the Container. |
Remarks
Moves the iterator to the previous position, loading that item's properties into this iterator.
If there are no items before the current position, MoveToPrevious returns an error. You may wish to check IsFirst before calling MoveToPrevious to avoid errors.
See Also