Twain.GetResolutionX
--------------------

Queries the current resolution setting for the next scan.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Twain](component_Twain.md) | [3.1](newinversion31.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Twain.GetResolutionX" ) ### Parameters

none

### Result

Returns resolution number.

### Description

Queries the current resolution setting for the next scan.  
Value is -1 if you didn't call [Twain.SetResolutionX](TwainSetResolutionX.md) before.  
### See also

- [Twain.GetResolutionY](TwainGetResolutionY.md)
- [Twain.SetResolutionX](TwainSetResolutionX.md)
- [Twain.SetResolutionY](TwainSetResolutionY.md)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[Twain.GetPixelType](TwainGetPixelType.md) - [Twain.GetResolutionY](TwainGetResolutionY.md)

[HTML Version](TwainGetResolutionX.shtml)