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.3.0.0 (1.3.0.0)
Syntax
The Resolution type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetCapabilities | (Inherited from CapSetBase.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MakeCapT | (Inherited from CapSetBase.) | |
MakeCapArrT | (Inherited from CapSetBase.) | |
MakeCapReadOnlyT | (Inherited from CapSetBase.) | |
MakeCapReadOnlyArrayT | (Inherited from CapSetBase.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (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