Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

How do I scan using custom setting from device's interface?

Last post 27 Feb 2008, 8:48 PM by Glenn. 1 replies.
Sort Posts: Previous Next
  •  27 Feb 2008, 11:45 AM 13350

    How do I scan using custom setting from device's interface?

    I'm trying to build an application implementing DotTwain and using pre-set dimensions.

     If I set
         this.device.HideInterface = false;
    then the custom setting which I've pre-set is already selected. All I need to do is click Scan on the device's interface and the image is scanned as I'd expect.

    If I set
        this.device.HideInterface = true;
    then the custom settings are ignored and the device scans with different settings.

    So my question is how do I configure my DotTwain application to use these custom scan settings without showing the device interface?

  •  27 Feb 2008, 8:48 PM 13361 in reply to 13350

    Re: How do I scan using custom setting from device's interface?

    Those custom settings are specific to the scanner and not part of the TWAIN specification.  You can do something similar using the SaveXmlParameters and LoadXmlParameters methods to save the current scanner settings and load them later.

    Glenn Chittenden Jr.
    Atalasoft Development Team
View as RSS news feed in XML