Component: WIA 
---------------

Scan images from flatbet scanners on Windows.

See [ImageCapture](component_ImageCapture.md) functions for MacOS or older [TWAIN](component_Twain.md) functions.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [6.5](newinversion65.md "First functions introduced with version 6.5.") / [9.1](newinversion91.md "Newest functions in version 9.1.") | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

  
| Item | Details |
|:--|:--|
| [WIA.ClearCurrentDevice](WIAClearCurrentDevice.md)   Clears current device. | Win only   6.5 |
| [WIA.DeviceCount](WIADeviceCount.md)   Queries number of devices. | Win only   6.5 |
| [WIA.DeviceProperties](WIADeviceProperties.md)   Queries the properties for the device as JSON. | Win only   8.3 |
| [WIA.DevicePropertyKeys](WIADevicePropertyKeys.md)   Queries the property keys for the device. | Win only   6.5 |
| [WIA.DevicePropertyValue](WIADevicePropertyValue.md)   Queries a device property value. | Win only   6.5 |
| [WIA.GetCurrentDevice](WIAGetCurrentDevice.md)   Queries ID of current device. | Win only   6.5 |
| [WIA.GetCurrentItem](WIAGetCurrentItem.md)   Queries name/ID of current item. | Win only   8.3 |
| [WIA.Image](WIAImage.md)   Queries native path to image file. | Win only   6.5 |
| [WIA.ImageCount](WIAImageCount.md)   Queries number of scanned images. | Win only   6.5 |
| [WIA.ImageDialog](WIAImageDialog.md)   Offer dialog to user to acquire image. | Win only   6.5 |
| [WIA.Images](WIAImages.md)   Queries just of native path to image files. | Win only   9.1 |
| [WIA.Initialize](WIAInitialize.md)   Initializes WIA services. | Win only   6.5 |
| [WIA.ItemProperties](WIAItemProperties.md)   Queries properties as JSON. | Win only   8.3 |
| [WIA.ItemPropertyKeys](WIAItemPropertyKeys.md)   Queries list of properties. | Win only   6.5 |
| [WIA.ItemPropertyValue](WIAItemPropertyValue.md)   Queries an item property value. | Win only   6.5 |
| [WIA.ListItems](WIAListItems.md)   Lists the items. | Win only   6.5 |
| [WIA.Scan](WIAScan.md)   Transfers data from the given item to the application. | Win only   6.5 |
| [WIA.SelectDeviceDialog](WIASelectDeviceDialog.md)   Presents the device selection dialog. | Win only   6.5 |
| [WIA.SetCurrentDevice](WIASetCurrentDevice.md)   Sets the current device. | Win only   6.5 |
| [WIA.SetDevicePropertyValue](WIASetDevicePropertyValue.md)   Sets a device property value. | Win only   6.5 |
| [WIA.SetItemPropertyValue](WIASetItemPropertyValue.md)   Sets a property of an item. | Win only   6.5 |

21 functions shown.

These functions require a license (62%).

### Release notes

- **Version 15.5**
    - Improved [WIA.DevicePropertyValue](https://www.mbsplugins.eu/WIADevicePropertyValue.shtml), [WIA.ItemPropertyValue](https://www.mbsplugins.eu/WIAItemPropertyValue.shtml) and [WMIQuery.PropertyValue](https://www.mbsplugins.eu/WMIQueryPropertyValue.shtml) to better return various numeric array types.
- **Version 12.1**
    - Added GUID (or CLSID) as type for [WIA.SetDevicePropertyValue](https://www.mbsplugins.eu/WIASetDevicePropertyValue.shtml) and [WIA.SetItemPropertyValue](https://www.mbsplugins.eu/WIASetItemPropertyValue.shtml) function.
    - Added type parameter for [WIA.SetItemPropertyValue](https://www.mbsplugins.eu/WIASetItemPropertyValue.shtml) function.
- **Version 10.3**
    - Changed [WIA.ImageDialog](https://www.mbsplugins.eu/WIAImageDialog.shtml) and [WIA.SelectDeviceDialog](https://www.mbsplugins.eu/WIASelectDeviceDialog.shtml) to call [FM.InitMessageFilter](https://www.mbsplugins.eu/FMInitMessageFilter.shtml) internally to avoid running into COM error dialogs.
- **Version 9.1**
    - Added [WIA.Images](http://www.mbsplugins.eu/WIAImages.shtml) function.
- **Version 8.3**
    - Added [WIA.GetCurrentItem](http://www.mbsplugins.eu/WIAGetCurrentItem.shtml) and allow you to pass "" for item to use current one.
    - Added [WIA.ItemProperties](http://www.mbsplugins.eu/WIAItemProperties.shtml) and [WIA.DeviceProperties](http://www.mbsplugins.eu/WIADeviceProperties.shtml) functions.
    - Changed [WIA.Scan](http://www.mbsplugins.eu/WIAScan.shtml) to handle multiple pages better.

### Blog Entries

- [MBS @ FMTraining.TV - 25 Ways to Improve Your Database Using the FileMaker MonkeyBread Plug-in - Day 3](https://www.mbsplugins.de/archive/2025-01-24/MBS_@_FMTrainingTV_-_25_Ways_t/monkeybreadsoftware_blog_filemaker)
- [MBS @ FMTraining.TV - Scanning in FileMaker with the MonkeyBread Plug-in](https://www.mbsplugins.de/archive/2024-04-28/MBS_@_FMTrainingTV_-_Scanning_/monkeybreadsoftware_blog_filemaker)
- [MBS @ FMTraining.TV](https://www.mbsplugins.de/archive/2022-02-28/MBS_@_FMTrainingTV/monkeybreadsoftware_blog_filemaker)
- [Ways to import images to FileMaker](https://www.mbsplugins.de/archive/2022-02-09/Ways_to_import_images_to_FileM/monkeybreadsoftware_blog_filemaker)
- [Combined Components with MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2021-03-29/Combined_Components_with_MBS_F/monkeybreadsoftware_blog_filemaker)
- [FileMaker Developers in Southern California](https://www.mbsplugins.de/archive/2021-03-15/FileMaker_Developers_in_Southe/monkeybreadsoftware_blog_filemaker)
- [Combine MBS functions to automate processes in FileMaker](https://www.mbsplugins.de/archive/2019-04-11/Combine_MBS_functions_to_autom/monkeybreadsoftware_blog_filemaker)
- [5000 Functions in MBS Plugin](https://www.mbsplugins.de/archive/2017-11-11/5000_Functions_in_MBS_Plugin/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 6.5 for OS X/Windows](https://www.mbsplugins.de/archive/2016-12-12/MBS_FileMaker_Plugin_65_for_OS/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 6.5pr6](https://www.mbsplugins.de/archive/2016-11-08/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

### Example Databases

- [DynaPDF/Scan with WIA to PDF](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Scan%20with%20WIA%20to%20PDF.shtml#1ScriptAnchor_)
- [Win Only/Scanning/WIA Scan](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Scanning/WIA%20Scan.shtml#1ScriptAnchor_)

[HTML Version](component_WIA.shtml)