ICogChangedEvent InterfaceCognex VisionPro 9.8
This interface contains the Changed event and methods for suspending and resuming it.

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

public interface ICogChangedEvent

The ICogChangedEvent type exposes the following members.

Methods

  NameDescription
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.
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.
Top
Properties

  NameDescription
Public propertyChangedEventSuspended
Indicates if the raising of the Changed event has been suspended.
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) { ... }
Top
Events

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