Share via


CheckScanner.Quality Property

2/27/2008

Gets or sets the resolution of the device when a scan image is to occur. The resolution value is defined as dpi (dots per inch).

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Property Quality As Integer
public abstract int Quality { get; set; }
public:
virtual property int Quality {
    int get () abstract;
    void set (int value) abstract;
}
/** @property */
public abstract int get_Quality ()

/** @property */
public abstract void set_Quality (int value)
public abstract function get Quality () : int

public abstract function set Quality (value : int)

Remarks

Any stored data in the ImageData property are not affected by setting Quality.

Quality is set by the service object, based on the capabilities of the device.

Accessing Quality may cause a PosControlException to be thrown with the following ErrorCodes.

Value

Meaning

Illegal

Quality has been set to a value that does not exist in the QualityList property, or the QualityList property is empty.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

CheckScanner Class
CheckScanner Members
Microsoft.PointOfService Namespace
QualityList
CheckScanner.ImageData Property