ICogImageFileProvider InterfaceCognex VisionPro 9.20
Interface implemented by all objects that support a specific image file format.

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

public interface ICogImageFileProvider : ICogChangedEvent, 
	ICollection

The ICogImageFileProvider type exposes the following members.

Methods

  NameDescription
Public methodAppend
Append image to end of an open file.
Public methodClose
Close an open image file.
Public methodCopyTo(Array, Int32)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ICollection.)
Public methodCopyTo(Array, Int32)
Public methodDelete
Delete the specified images from the current open file.
Public methodOpen
Open an image file using the given mode.
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 ICogChangedEvent.)
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 ICogChangedEvent.)
Top
Properties

  NameDescription
Public propertyChangedEventSuspended
Indicates if the raising of the Changed event has been suspended.
(Inherited from ICogChangedEvent.)
Public propertyCount
Gets the number of elements contained in the ICollection.
(Inherited from ICollection.)
Public propertyCount
Public propertyDescription
Description of this file type to be used in a Common File Dialog.
Public propertyFileName
Name of last opened file.
Public propertyFileTypes
Semicolon separated list of file types that this provider can read or write.
Public propertyIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ICollection.)
Public propertyIsSynchronized
Public propertyItem
Public propertyOpenMode
Mode in which the file was opened (or cogImageFile_Closed if no file open).
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 ICogChangedEvent.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from ICollection.)
Public propertySyncRoot
Top
Events

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

Implements methods and properties used by objects that support access to specific image file formats.

See Also