Twain.GetImageCount
-------------------

Queries the number of images in memory.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Twain](component_Twain.md) | [3.1](newinversion31.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Twain.GetImageCount" ) ### Parameters

none

### Result

Returns number of images in memory.

### Description

Queries the number of images in memory.  
A scan may give several images. So the plugin caches them and you can query them in a loop with [Twain.CurrentImage](TwainCurrentImage.md).  
### See also

- [Twain.Acquire](TwainAcquire.md)
- [Twain.CurrentImage](TwainCurrentImage.md)

### Example Databases

- [Win Only/Scanning/Twain](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Scanning/Twain.shtml#6ScriptAnchor_)

### Blog Entries

- [MBS Filemaker Plugin, version 3.2pr4](https://www.mbsplugins.de/archive/2013-03-18/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[Twain.GetHighlight](TwainGetHighlight.md) - [Twain.GetOrientation](TwainGetOrientation.md)

[HTML Version](TwainGetImageCount.shtml)