Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Twain.SetResolutionX

Sets the horizontal resolution for scanning.

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

Parameters

Parameter Description Example
Value The horizontal resolution value. 300

Result

Returns OK.

Description

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

This function is free to use.

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


Twain.SetPixelType - Twain.SetResolutionY

💬 Ask a question or report a problem