Click or drag to resize

_DMcTWAINEvents Interface

A source dispinterface describing the events generated by McTWAIN.

Namespace:  MediaCy.IQL.Capture.Twain
Assembly:  MediaCy.IQL.Capture.Twain (in MediaCy.IQL.Capture.Twain.dll) Version: 10.0.6912.0
Syntax
VB
Public Interface _DMcTWAINEvents

The _DMcTWAINEvents type exposes the following members.

Methods
  NameDescription
Public methodAfterAcquire
TWAIN has completed an acquisition.
Top
Remarks
Clients interested to receive notifications associated with the main activities of the TWAIN operator need to implement this interface and register it using their programming language prefered method. Note that notifications can be received either through this dispinterface or through its custom version _IMcCaptureEvents for clients looking for better performances and supporting vtable binding.
Examples
VB
Dim With Events MyTWAIN As McTWAIN
Sub AttachToDevices
Set MyTWAIN = Application.TWAIN
End Sub
Sub MyTWAIN_AfterAcquire(ByVal newImage as McImage)
Debug.Print "Image Acquired"
End Sub
See Also