CogOCVMaxCharacterIterator MethodsCognex VisionPro 9.22 SR1

The CogOCVMaxCharacterIterator type exposes the following members.

Methods

  NameDescription
Public methodCopy 
Return a newly created character iterator that is functionally identical to this one - it will have the same character position within the same enclosing line within the same enclosing paragraph.
Public methodCopy(Int32)
Return a newly created character iterator corresponding to the specified character position within the same enclosing line and the same enclosing paragraph as this character iterator. The argument is a positional offset from the current character position, so a value of zero will yield a new character iterator that is functionally identical to this one.
Public methodCreateLineIterator
Return a newly created line iterator corresponding to the containing line. This provides access to this character iterator's parent.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDisplayCharacter
Get the character that should be displayed on a graphical user interface for the position specified by this character iterator. This is useful for character positions for which the (train time) key set has more than one value. Note that this assumes that the character keys in the font correspond to Unicode code point values.
Public methodGetDisplayCharacterKey
Get the key of the character that should be displayed on a graphical user interface for the position specified by this character iterator. This is useful for character positions for which the (train time) key set has more than one value.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetKeysetCharacterKeys
Get an array of System::Int32 corresponding to the (train time) key set for the character position specified by this character iterator. Each element of this array is the key value of a character that may occur at this position.
Public methodGetKeysetCharacters
Get a String corresponding to the (train time) key set for the character position specified by this character iterator. Each individual character in this string may occur at this position.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveToNext
Move the character iterator to the next character position within the containing line. If the iterator is already at the end position before this call, MoveToNext generates an exception. You may wish to check the IsEnd property before calling MoveToNext in order to avoid errors.
Public methodMoveToPosition
Move the character iterator to the specified position within the containing line. If the argument is zero, move to the first character position in the line. If the argument is -1, move to the end character position in the line. An exception is generated if the argument is not valid.
Public methodMoveToPrevious
Move the character iterator to the previous character position within the containing line. If the iterator is already at the initial position before this call, MoveToPrevious generates an exception. You may wish to check the IsFirst property before calling MoveToPrevious in order to avoid errors.
Public methodSetDisplay(Char)
Set the character that should be displayed on a graphical user interface for the position specified by this character iterator. This is useful for character positions for which the (train time) key set has more than one value. Note that this assumes that the character keys in the font correspond to Unicode code point values.
Public methodSetDisplay(Int32)
Set the key of the character that should be displayed on a graphical user interface for the position specified by this character iterator. This is useful for character positions for which the (train time) key set has more than one value.
Public methodSetKeyset( Int32 )
Set the (train time) key set for the character position specified by this character iterator. The key values are passed in as an array of System::Int32 in which each element is the key value of a character that may occur at this position.
Public methodSetKeyset(String)
Set the (train time) key set for the character position specified by this character iterator. The key values are passed in as a System::String in which each character corresponds to a member of the key set for this position. Note that this assumes that the character keys in the font correspond to Unicode code point values.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also