Interface implemented by all objects that support a specific image file format.
Namespace: Cognex.VisionPro.ImageFileAssembly: Cognex.VisionPro.ImageFile (in Cognex.VisionPro.ImageFile.dll) Version: 87.1.0.0
Syntax
The ICogImageFileProvider type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Append | Append image to end of an open file. | |
| Close | Close an open image file. | |
| CopyTo(Array, Int32) | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.) | |
| CopyTo(Array, Int32) | ||
| Delete | Delete the specified images from the current open file. | |
| Open | Open an image file using the given mode. | |
| ResumeAndRaiseChangedEvent |
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.) | |
| SuspendChangedEvent |
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.) |
Properties
| Name | Description | |
|---|---|---|
| ChangedEventSuspended |
Indicates if the raising of the Changed event has been suspended.
(Inherited from ICogChangedEvent.) | |
| Count | Gets the number of elements contained in the ICollection. (Inherited from ICollection.) | |
| Count | ||
| Description | Description of this file type to be used in a Common File Dialog. | |
| FileName | Name of last opened file. | |
| FileTypes | Semicolon separated list of file types that this provider can read or write. | |
| IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection.) | |
| IsSynchronized | ||
| Item | ||
| OpenMode | Mode in which the file was opened (or cogImageFile_Closed if no file open). | |
| StateFlags |
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.) | |
| SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection.) | |
| SyncRoot |
Events
| Name | Description | |
|---|---|---|
| Changed |
This event is raised when one or more parts of the object's state may
have changed.
(Inherited from ICogChangedEvent.) |
Remarks
Implements methods and properties used by objects that support access to specific image file formats.
See Also