Resolution ClassTerminal Works - TwainScanning.Net Library
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

SystemObject
  TwainScanning.CapabilityCapSetBase
    TwainScanning.Capability.CapabilitySetsResolution

Namespace: TwainScanning.Capability.CapabilitySets
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.4.3.0 (1.4.3.0)
Syntax

public class Resolution : CapSetBase

The Resolution type exposes the following members.

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetCapabilities (Inherited from CapSetBase.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMakeCapT (Inherited from CapSetBase.)
Protected methodMakeCapArrT (Inherited from CapSetBase.)
Protected methodMakeCapReadOnlyT (Inherited from CapSetBase.)
Protected methodMakeCapReadOnlyArrayT
(Inherited from CapSetBase.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyX
Measured in units of pixels per unit as defined by Unit. ICAP_XRESOLUTION
Public propertyXNativeRes
Current/Available optical resolutions for x-axis.
Public propertyY
Measured in units of pixels per unit as defined by Unit. ICAP_YRESOLUTION
Public propertyYNativeRes
Current/Available optical resolutions for x-axis.
Top
See Also

Reference