CogVisionDataContainer PropertiesCognex VisionPro 9.8

The CogVisionDataContainer type exposes the following members.

Properties

  NameDescription
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 propertyContainsRangeGreyImagePairsOnly
Returns true only if this collection is non-empty and all of its contained elements are Range/Grey image pairs. Otherwise, returns false. An element is a Range/Grey image pair if it is itself a CogVisionDataContainer that contains exactly one CogImage16Range and one CogImage16Grey, nothing else.
Public propertyContainsRangeImagesOnly
Returns true if:
  • The collection contains at least one element that is a CogImage16Range, and
  • The collection contains no elements that are not a CogImage16Range.
Otherwise, returns false.
Public propertyCount
Gets the number of elements in this container.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyIsRangeGreyImagePair
Returns true if this object is a Range/Grey image pair. Otherwise, returns false. A CogVisionDataContainer is a Range/Grey image pair if contains exactly one CogImage16Range and one CogImage16Grey, nothing else.
Public propertyIsReadOnly
Returns true if this collection is ReadOnly
Public propertyItem Int32 
Public propertyItem String 
Public propertyKeys
Gets a collection of all key strings in this container.
Public propertyPairIndexer
Gets or sets the key value pair at the specified index. The key is a string and the value is an ICogVisionData reference.
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 propertyValues
Gets a collection of all ICogVisionData values in this container.
Top
See Also