Class that allows to manipulate resolutions supported by device.
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.
Inheritance Hierarchy
TwainScanning.CapabilityCapSetBase
TwainScanning.Capability.CapabilitySetsResolution
Namespace: TwainScanning.Capability.CapabilitySets
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.4.3.0 (1.4.3.0)
Syntax
The Resolution type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetCapabilities | (Inherited from CapSetBase.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MakeCapT | (Inherited from CapSetBase.) | |
| MakeCapArrT | (Inherited from CapSetBase.) | |
| MakeCapReadOnlyT | (Inherited from CapSetBase.) | |
| MakeCapReadOnlyArrayT | (Inherited from CapSetBase.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| X |
Measured in units of pixels per unit as defined by Unit.
ICAP_XRESOLUTION
| |
| XNativeRes |
Current/Available optical resolutions for x-axis.
| |
| Y |
Measured in units of pixels per unit as defined by Unit.
ICAP_YRESOLUTION
| |
| YNativeRes |
Current/Available optical resolutions for x-axis.
|
See Also