WIA.ItemProperties
------------------

Queries properties as JSON.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WIA](component_WIA.md) | [8.3](newinversion83.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WIA.ItemProperties"; Item ) 

**MBS**( **"WIA.ItemProperties";** /\* Queries properties as JSON. \*/  
**$Item**) /\* The item of current device to query.  
For a scanner this is typical Flatbed or Feeder.  
see [WIA.ListItems](WIAListItems.md)e.g. "Flatbed" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Item | The item of current device to query.   For a scanner this is typical Flatbed or Feeder.   see [WIA.ListItems](WIAListItems.md) | "Flatbed" |

### Result

Returns JSON or error.

### Description

Queries properties as JSON.  
### Examples

Query feeder properties:

 MBS ( "WIA.ItemProperties"; "Feeder" )  
<small>  
Example result:   
{ "Item Name" : "Feeder" , "Full Item Name" : "0000\\\\Root\\\\Feeder" , "Item Flags" : 532483 , "Color Profile Name" : "sRGB Color Space Profile.icm" , "Access Rights" : 1 , "Horizontal Optical Resolution" : 1200 , "Vertical Optical Resolution" : 2400 , "Preview" : 0 , "Show preview control" : 1 , "Maximum Horizontal Scan Size" : 8500 , "Maximum Vertical Scan Size" : 14000 , "Sheet Feeder Registration" : 1 , "Minimum Vertical Scan Size" : 1 , "Minimum Horizontal Scan Size" : 0 , "Document Handling Select" : 32 , "Pages" : 0 , "Page Size" : 0 , "Current Intent" : 0 , "Item Category" : "{FE131934-F84C-42AD-8DA4-6129CDDD7288}" , "Horizontal Resolution" : 200 , "Vertical Resolution" : 200 , "Horizontal Start Position" : 0 , "Vertical Start Position" : 0 , "Horizontal Extent" : 1700 , "Page Width" : 850 , "Vertical Extent" : 2800 , "Page Height" : 1400 , "Rotation" : 0 , "Orientation" : 0 , "DeskewX" : 0 , "DeskewY" : 0 , "Brightness" : 0 , "Contrast" : 0 , "Item Size" : 0 , "Data Type" : 3 , "Bits Per Pixel" : 24 , "Preferred Format" : "{B96B3CAB-0728-11D3-9D7B-0000F81EF32E}" , "Format" : "{B96B3CAB-0728-11D3-9D7B-0000F81EF32E}" , "Compression" : 0 , "Photometric Interpretation" : 0 , "Lamp Warm up Time" : 10000 , "Media Type" : 2 , "Channels Per Pixel" : 3 , "Bits Per Channel" : 8 , "Planar" : 0 , "Pixels Per Line" : 1700 , "Number of Lines" : 2800 , "Bytes Per Line" : 0 , "Threshold" : 128 , "Buffer Size" : 131072 , "Filename extension" : "BMP" } </small>### See also

- [WIA.ItemPropertyKeys](WIAItemPropertyKeys.md)
- [WIA.ItemPropertyValue](WIAItemPropertyValue.md)
- [WIA.ListItems](WIAListItems.md)
- [WIA.SetItemPropertyValue](WIASetItemPropertyValue.md)

### Release notes

- **Version 8.3**
    - Added [WIA.ItemProperties](http://www.mbsplugins.eu/WIAItemProperties.shtml) and [WIA.DeviceProperties](http://www.mbsplugins.eu/WIADeviceProperties.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 8.3pr2](https://www.mbsplugins.de/archive/2018-06-18/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 17th June 2018 , last changed 19th February 2019

  
[WIA.Initialize](WIAInitialize.md) - [WIA.ItemPropertyKeys](WIAItemPropertyKeys.md)

[HTML Version](WIAItemProperties.shtml)