Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4    Statistic  

WIA.ItemProperties

Queries properties as JSON.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WIA 8.3 No Yes No No No
MBS( "WIA.ItemProperties"; Item )   More

Parameters

Parameter Description Example value
Item The item of current device to query.
For a scanner this is typical Flatbed or Feeder.
see WIA.ListItems
"Flatbed"

Result

Returns JSON or error.

Description

Queries properties as JSON.

Examples

Query feeder properties:

MBS( "WIA.ItemProperties"; "Feeder" )

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"
}

See also

Blog Entries

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


WIA.Initialize   -   WIA.ItemPropertyKeys

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins