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
Acquires a picture.
|Twain||3.1||✅ Yes||✅ Yes||❌ No||❌ No||❌ No|
|Modal||Whether to run the process modal. Default is 0 for running non modal.
Ignored in most cases.
|ShowUI||Whether to show the dialog. Pass 1 to show dialog or 0 to not show it. Default is 1.||1||Optional|
|BringWindowToFront||For Windows only a flag.
Pass 1 to have the plugin watch for new windows and bring them to front and avoid them showing behind FileMaker’s windows.
Returns OK or the Twain error code.
DescriptionAcquires a picture.
The acquire process will go asynchronously. You can define a script with Twain.SetNotificationScript to be called when transfers are done. If you acquire without UI, you can make script pause to let the acquire work and check with Twain.GetImageCount function whether images have been received.
Even when using no UI, you can pass Modal = 1 to have the plugin transfer the image right after acquire without waiting for an event from twain driver.
Acquire with UI, window to front and modal:
- Version 11.4
- Fixed problem in Twain.Acquire to fail better if we can't open the data source.
- Version 7.2
- Added BringWindowToFront parameter to Twain.Acquire function.
Created 18th August 2014, last changed 9th May 2017
Feedback: Report problem or ask question.
MBS FileMaker Plugins