Example with TwainSetConfig?

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
User avatar
Posts: 4
Joined: Wed Jan 25, 2017 8:35 pm

Example with TwainSetConfig?

Post by JocPihl » Thu May 04, 2017 11:40 am


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) {

Jocke Pihlström
Alcom System AB

Posts: 269
Joined: Sun Sep 02, 2012 7:30 pm

Re: Example with TwainSetConfig?

Post by Cedric » Thu May 04, 2017 5:22 pm

Did you set your DocuVieware instance TwainSourceEnableCustomConfiguration property to true?
If not (and because it's False by default), it is ignored.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest