ImageGear for C and C++ on Windows v19.10 - Updated
ICAP_XRESOLUTION
User Guide > How to Work with... > Common Operations > Scanning > TWAIN Scanning > Set Scanning Capabilities > ICAP_XRESOLUTION

Data Type:

TW_FIX32

Purpose:

All the X-axis resolutions the Source can provide.

Measured in units of pixels per unit as defined by ICAP_UNITS (pixels per TWUN_PIXELS yields dimensionless data). That is, when the units are TWUN_PIXELS, both ICAP_XRESOLUTION and ICAP_YRESOLUTION shall report 1 pixel/pixel. Some data sources like to report the actual number of pixels that the device reports, but that response is more appropriate in ICAP_PHYSICALHEIGHT and ICAP_PHYSICALWIDTH.

Setting this value will restrict the various resolutions that will be available to the user during acquisition. Applications will want to ensure that the values set for this ICAP match those set for ICAP_YRESOLUTION.

Valid Values:

>0

Default Value:

N/A