I want to use the new TwainSetConfig javascript function. But can't get it to work! The twain driver setting UI is not supressed. Can you give me an example? My function looks like this:
Code: Select all
$("#captureStartBatchButton").click(function () {
console.log("Setting Twain configs...");
DocuViewareAPI.TwainSetConfig("DocuVieware1", true, true, 300, 24, false, true);
var e = document.getElementById('DocuVieware1');
if (e) {
e.control.TwainAcquisitionDialog_Click();
}
});