Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Twain.SetCloseAfterTransfer
Whether to close window and data source after a transfer.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Twain | 3.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "Twain.SetCloseAfterTransfer"; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
Value | The new settings. Can be 1 to closing or 0 to disable. Default is 0. | 0 |
Result
Returns OK.
Description
Whether to close window and data source after a transfer.GUI is only closed when being used.
Examples
Set options and acquire:
$r = MBS( "Twain.SetCloseAfterTransfer"; 1 )
$r = MBS( "Twain.SetFeededEnabled"; 1 )
$r = MBS( "Twain.SetAutofeed"; 1 )
$r = MBS( "Twain.Acquire" )
See also
Example Databases
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 18th August 2014
