The Twain specification states that ICAP_AUTOMATICBORDERDETECTION is a BOOL to turn the feature on/off. If your scanner requires an additional action then it must be a custom capability.
DotTwain allows you to get/set custom capabilities using the Device.Controller.GetCapabilityValue and SetCapabilityValue methods. However, you first would have to figure out what the capability ID is and what the valid values for that capability are. This means getting a list of all capabilities with Device.GetSupportedCapabilities and looking for any that are returned as numeric values. Once you have a list of custom capabilities you will need to use Device.Controller.GetCapabilityType and Device.Controller.GetCapabilityArray to get a list of all supported values for each of those custom capabilities. Then it comes down to trying to set each capability to one of the values returned by GetCapabilityArray and looking at the driver interface to see if it changed the feature you're looking for.
Something you might try first is to contact Kodak and see if they can tell you what the capability ID and values are, but a reply could take longer than following the steps above.
Glenn Chittenden Jr.
Atalasoft Development Team