CogID ClassCognex VisionPro 9.5
Class containing the ID run parameters.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogSerializableObjectBase
        Cognex.VisionPro.Implementation CogSerializableChangedEventBase
          Cognex.VisionPro.ID CogID

Namespace: Cognex.VisionPro.ID
Assembly: Cognex.VisionPro.ID (in Cognex.VisionPro.ID.dll) Version: 69.0.0.0
Syntax

[SerializableAttribute]
public class CogID : CogSerializableChangedEventBase, IDisposable

The CogID type exposes the following members.

Constructors

  NameDescription
Public methodCogID 
Construct a default CogID object.
Public methodCogID(CogID)
Construct a deep copy of the supplied CogID object.
Top
Methods

  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDisableAll1DCodes
Helper function to disable all 1D codes.
Public methodDisableAll2DCodes
Helper function to disable all 2D codes.
Public methodDisableAllCodes
Helper function to disable all codes.
Public methodDispose 
Destruct this CogID.
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
Find and decode up to NumToFind symbols within the specified region of the input image.
Protected methodFinalize
Finalize this CogID.
(Overrides Object Finalize .)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetObjectData
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.)
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnChanged(Int64)
This method should be called internally whenever the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Protected methodOnChanged(CogChangedEventArgs)
This method may be called internally whenever a derived object's state may have changed and the derived object expresses this change via a derived CogChangedEventArgs class.
(Inherited from CogSerializableChangedEventBase.)
Public methodResumeAndRaiseChangedEvent
Re-enables raising of the Changed event after SuspendChangedEvent has been called, and raises the Changed event if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.
(Inherited from CogSerializableChangedEventBase.)
Public methodSuspendChangedEvent
Temporarily suspends the raising of the Changed event. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.
(Inherited from CogSerializableChangedEventBase.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTrain
Train the tool.
Public methodUntrain
Function to untrain the tool.
Top
Fields

  NameDescription
Public fieldStatic memberSfAllowIdenticalSymbols
This bit will be set in the EventArgs of a Changed event every time the value returned by AllowIdenticalSymbols may have changed.
Public fieldStatic memberSfAllowPartialResults
This bit will be set in the EventArgs of a Changed event every time the value returned by AllowPartialResults may have changed.
Public fieldStatic memberSfCodabar
This bit will be set in the EventArgs of a Changed event every time the value returned by Codabar may have changed.
Public fieldStatic memberSfCode128
This bit will be set in the EventArgs of a Changed event every time the value returned by Code128 may have changed.
Public fieldStatic memberSfCode39
This bit will be set in the EventArgs of a Changed event every time the value returned by Code39 may have changed.
Public fieldStatic memberSfCode93
This bit will be set in the EventArgs of a Changed event every time the value returned by Code93 may have changed.
Public fieldStatic memberSfDataBar
This bit will be set in the EventArgs of a Changed event every time the value returned by DataBar may have changed.
Public fieldStatic memberSfDataMatrix
This bit will be set in the EventArgs of a Changed event every time the value returned by DataMatrix may have changed.
Public fieldStatic memberSfDecodedStringCodePage
This bit will be set in the EventArgs of a Changed event every time the value returned by DecodedStringCodePage may have changed.
Public fieldStatic memberSfEANUCCComposite
This bit will be set in the EventArgs of a Changed event every time the value returned by EANUCCComposite may have changed.
Public fieldStatic memberSfFourState
This bit will be set in the EventArgs of a Changed event every time the value returned by FourState may have changed.
Public fieldStatic memberSfI2Of5
This bit will be set in the EventArgs of a Changed event every time the value returned by I2Of5 may have changed.
Protected fieldStatic memberSfNextSf
Public fieldStatic memberSfNumToFind
This bit will be set in the EventArgs of a Changed event every time the value returned by NumToFind may have changed.
Public fieldStatic memberSfPDF417
This bit will be set in the EventArgs of a Changed event every time the value returned by PDF417 may have changed.
Public fieldStatic memberSfPharmacode
This bit will be set in the EventArgs of a Changed event every time the value returned by Pharmacode may have changed.
Public fieldStatic memberSfPlanet
This bit will be set in the EventArgs of a Changed event every time the value returned by Planet may have changed.
Public fieldStatic memberSfPostnet
This bit will be set in the EventArgs of a Changed event every time the value returned by Postnet may have changed.
Public fieldStatic memberSfProcessingMode
This bit will be set in the EventArgs of a Changed event every time the value returned by ProcessingMode may have changed.
Public fieldStatic memberSfQRCode
This bit will be set in the EventArgs of a Changed event every time the value returned by QRCode may have changed.
Public fieldStatic memberSfShortQuietZone
This bit will be set in the EventArgs of a Changed event every time the value returned by ShortQuietZone may have changed.
Public fieldStatic memberSfTimeout
This bit will be set in the EventArgs of a Changed event every time the value returned by Timeout may have changed.
Public fieldStatic memberSfTimeoutEnabled
This bit will be set in the EventArgs of a Changed event every time the value returned by TimeoutEnabled may have changed.
Public fieldStatic memberSfTrained
This bit will be set in the EventArgs of a Changed event every time the value returned by Trained may have changed.
Public fieldStatic memberSfTrainedData
This bit will be set in the EventArgs of a Changed event every time the value returned by TrainedData may have changed.
Public fieldStatic memberSfUpcEan
This bit will be set in the EventArgs of a Changed event every time the value returned by UpcEan may have changed.
Top
Properties

  NameDescription
Public propertyAllowIdenticalSymbols
Get or set whether identical symbols within the same image should be decoded. If true, decode results may be returned for identical symbols within the same image. Otherwise, at most one result for such symbols will be returned. Two symbols are considered identical if they have the same length, symbology tpe, and decoded string.
Public propertyAllowPartialResults
Get or set whether to allow partial results when timeout is enabled.
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.)
Public propertyCodabar
The Codabar parameters.
Public propertyCode128
The Code 128 parameters.
Public propertyCode39
The Code 39 parameters.
Public propertyCode93
The Code 93 parameters.
Public propertyDataBar
The DataBar parameters.
Public propertyDataMatrix
The DataMatrix parameters.
Public propertyDecodedStringCodePage
Code page to use when constructing a decoded string.
Public propertyEANUCCComposite
The EANUCCComposite parameters.
Public propertyFourState
The Four State parameters.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyI2Of5
The interleaved 2 of 5 parameters.
Public propertyNumToFind
Maximum number of symbols to find and process.
Public propertyPDF417
The PDF417 parameters.
Public propertyPharmacode
The Pharmacode parameters.
Public propertyPlanet
The Planet parameters.
Public propertyPostnet
The Postnet parameters.
Public propertyProcessingMode
Processing mode: IDQuick or IDMax.
Public propertyQRCode
The QRCode parameters.
Public propertyShortQuietZone
Get or set whether the quiet zone can be shorter. When true the quiet zone can be about 6X, when false, the quiet zone can be 10X.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.)
Public propertyTimeout
The maximum execution time (msec) allowed to decode a symbole. If decoding has not finished by the end of the timeout period, it will stop soon thereafter and return E_Cog_TimeoutExpired. This value only applies if TimeoutEnabled is true.
Public propertyTimeoutEnabled
If true then the Timeout property limits the execution time of the symbol decoding. If false then timeout is disabled and the Timeout property is ignored."
Public propertyTrained
Returns true if the tool is trained.
Public propertyTrainedData
The Trained Data.
Public propertyUpcEan
The UpcEan parameters.
Top
Events

  NameDescription
Public eventChanged
This event is raised when one or more parts of the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Top
See Also