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: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets the horizontal resolution for scanning.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Twain 3.1 Yes Yes No No No
MBS( "Twain.SetResolutionX"; Value )   More


Parameter Description Example value
Value The horizontal resolution value. 300


Returns OK.


Sets the horizontal resolution for scanning.
This value is stored and next time you call Acquire the plugin will ask the scanner to use this resolution. If the scanner does not support the resolution, the scanner will use the last valid setting.

If the scanner only supports certain resolutions as with HP M175 (75, 100, 200, 300, 600, 1200), use only one of the resolutions according the GUI Acquire settings in the dialogue. In this case "150" is not possible!

See also

Blog Entries

Created 18th August 2014, last changed 15th May 2016

Twain.SetPixelType   -   Twain.SetResolutionY

Feedback: Report problem or ask question.

MBS Xojo Plugins