Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0    Statistic  


Sets a property of an item.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WIA 6.5 No Yes No No No

MBS( "WIA.SetItemPropertyValue"; Item; Key; Value )


Parameter Description Example value
Item The item of current device to query.
For a scanner this is typical Flatbed or Feeder.
see WIA.ListItems
Key The property key.
Can be a text with the name of the property or the corresponding ID.
Value The new value for this property.


Returns OK or error.


Sets a property of an item.


Set resolution:

MBS( "WIA.SetItemPropertyValue"; "Flatbed"; "Horizontal Resolution"; 300 ) &
MBS( "WIA.SetItemPropertyValue"; "Flatbed"; "Vertical Resolution"; 300 )

Set rotation:

MBS( "WIA.SetItemPropertyValue"; "Flatbed"; "Rotation"; 2 )
// 0 = Portrait, 1 = Landscape, 2 = Rotate 180, 3 = Rotate 270

Set gray or color:

MBS( "WIA.SetItemPropertyValue"; "Feeder"; "Current Intent"; 2)
// 1 = color
// 2 = gray

See also

Example Databases

WIA.SetDevicePropertyValue   -   WMIQuery.Connect

Feedback: Report problem or ask question.

MBS FileMaker Plugins