Click or drag to resize

AcquisitionAcquireFinished Event

This event will fire when all of the images have been acquired. This is useful when a document feeder is used.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public event EventHandler AcquireFinished

Value

Type: SystemEventHandler
Examples
AcquireFinishedCS (C#)
private void acquisition_AcquireFinished(object sender, System.EventArgs e)
{
    // This is the only event where you should call the Close method.
    // AcquireFinished fires after all images have been acquired.
    // Note that you can call Close anytime if you need to cancel
    // any pending transfers and do a quick shutdown of your application.
    this.device.Close();
}
AcquireFinishedVB (Visual Basic)
Private  Sub acquisition_AcquireFinished(ByVal sender As Object, ByVal e As System.EventArgs)
    ' This is the only event where you should call the Close method.
    ' AcquireFinished fires after all images have been acquired.
    ' Note that you can call Close anytime if you need to cancel
    ' any pending transfers and do a quick shutdown of your application.
    Me.device.Close()
End Sub
See Also