AcquisitionAcquireFinished Event |
Namespace: Atalasoft.Twain
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(); }
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