DocuVieware Reference Guide
RegisterOnTwainAcquisitionDialogCancelButtonClick
Reference Guides > JavaScript API > Events > RegisterOnTwainAcquisitionDialogCancelButtonClick
 RegisterOnTwainAcquisitionDialogCancelButtonClick

This function allows you trigger a function of your own when the Cancel button from the TWAIN acquisition dialog is clicked.

RegisterOnTwainAcquisitionDialogCancelButtonClick: function (docuViewareID, callback)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance.
callback
The function you want to execute on event.

Return Value

1 if error.