The CogOCRMaxChar class holds an object of type CogOCRMaxCharKey in its Key
property. The Key contains information that identifies the CogOCRMaxChar. Most
importantly the Key property holds the CharacterCode. The CharacterCode is a
Unicode UTF-32 value which determines the 'letter' a CogOCRMaxChar corresponds
to.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro.OCRMax CogOCRMaxCharKey
Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 65.1.0.0
Syntax
The CogOCRMaxCharKey type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogOCRMaxCharKey |
Construct a default CogOCRMaxCharKey object.
| |
| CogOCRMaxCharKey(CogOCRMaxCharKey) |
Constructs a deep copy of the supplied CogOCRMaxCharKey object.
| |
| CogOCRMaxCharKey(SerializationInfo, StreamingContext) |
Serialization constructor for CogOCRMaxCharKey.
| |
| CogOCRMaxCharKey(Int32, Int32, Int32, Int32) |
Construct a new CogOCRMaxCharKey and intialize its properties using the
arguments provided.
|
Methods
| Name | Description | |
|---|---|---|
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Equals | (Inherited from Object.) | |
| EqualTo |
Returns true if other has the same character code,
instance number, font ID, and variant.
| |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetObjectData |
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.) | |
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetProperties( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetString |
Returns a string which represents this CogOCRMaxCharKey.
| |
| GetString(String) |
Returns a string which represents this CogOCRMaxCharKey.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToString |
Returns string data about this CogOCRMaxCharKey.
(Overrides Object ToString .) |
Properties
| Name | Description | |
|---|---|---|
| CharacterCode |
The character code, which is a Unicode UTF-32 code point.
| |
| FontID |
This is the ID of the font (i.e. set of characters) of which character
is a member. One potential use for this value would be to have each
font use a distinct value for the characters in that font, so that an
application could refer to a set of character keys from all the fonts
and still be able to distinguish which character came from which font.
| |
| Instance |
The instance number, which can be used to uniquely identify a particular
instance of a character with a given character code within a particular
font.
| |
| Variant |
The variant number, which can be used to indicate a distinct appearance
of a character code. For example, a particular font might contain two
visually distinct appearances for the digit zero "0", one of which might
simply be an ellipse and another that is an ellipse with a diagonal
stroke through it.
|
Remarks
Adding a CogOCRMaxChar to a CogOCRMaxFont will cause the CogOCRMaxChar.Key to be automatically replaced by a new CogOCRMaxCharKey to ensure that the Key's Instance number is unique.
See Also