Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help

AutoBorderDetect setting

  •  31 Jan 2008, 10:37 AM

    AutoBorderDetect setting

    I'm currently using dotTwain to launch my Kodak scanner, but using the following code I'm unable to toggle the Auto Border Removal feature:

    if (_device.QueryCapability(DeviceCapability.ICAP_AUTOMATICBORDERDETECTION, true))
    {
       _device.AutomaticBorderDetection = true;
    }

    If I launch the scanner with _device.HideInterface = false, I'm able to see that the setting the above will execute properly (AutoBorderDetect=true) but it will only 'enable' the border removal drop down box in the driver (preselecting the first 'none' item). If I set the same property to false, the driver's drop down box is disabled. Is there any way to get around this problem so that I can enable the border removal feature in the driver by default?

     

    Cheers

    Andy

View Complete Thread