Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

Created 18th August 2014, last changed 18th August 2014


Twain.SetCancelScript - Twain.SetCompressionQuality

Feedback: Report problem or ask question.