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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    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

This function is free to use.

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


Twain.SetCancelScript - Twain.SetCompressionQuality

💬 Ask a question or report a problem