ClassItemToShapeAssignment ClassCognex VisionPro 9.22 SR1

This class stores the assignment of a label to a shape.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision ChangedEventShareableBase
      Cognex.Vision.ELCore ClassItemToShapeAssignment
        Cognex.Vision.ViDiEL OCRClassItemToShapeAssignment

Namespace: Cognex.Vision.ELCore
Assembly: Cognex.Vision.ELCore.Net (in Cognex.Vision.ELCore.Net.dll) Version: 9.22.2.0
Syntax

public class ClassItemToShapeAssignment : ChangedEventShareableBase, 
	IObject

The ClassItemToShapeAssignment type exposes the following members.

Constructors

  NameDescription
Protected methodClassItemToShapeAssignment 
Public methodClassItemToShapeAssignment(IClassItem, IShape)

Constructor for these EventArgs.

Top
Methods

  NameDescription
Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(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 methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResumeAndRaiseChangedEvent

Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent 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.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodSuspendChangedEvent

Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two ClassItemToShapeAssignment objects.
Public operatorStatic memberInequality
Compares the inequality of two ClassItemToShapeAssignment objects.
Top
Fields

  NameDescription
Protected field_interopHandle
Public fieldStatic memberSfShape
Top
Properties

  NameDescription
Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Overrides ChangedEventShareableBase ChangedEventSuspended.)
Public propertyClassItem

Gets the assigned class item.

Public propertyHandle (Overrides ChangedEventShareableBase Handle.)
Public propertyShape
Get

Gets the assigned shape.

Top
Events

  NameDescription
Public eventChanged

The actual event.

(Overrides ChangedEventShareableBase Changed.)
Top
See Also