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.3.4.0 (1.3.4.0)
Syntax

public class Resolution : CapSetBase

The Resolution type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCapabilities (Inherited from CapSetBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(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
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(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