Share via


CheckScanner.MapMode Property

2/27/2008

Gets or sets the units of measure that are currently valid for the Check Scanner device.

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

Syntax

'Declaration
Public MustOverride Property MapMode As MapMode
public abstract MapMode MapMode { get; set; }
public:
virtual property MapMode MapMode {
    MapMode get () abstract;
    void set (MapMode value) abstract;
}
/** @property */
public abstract MapMode get_MapMode ()

/** @property */
public abstract void set_MapMode (MapMode value)
public abstract function get MapMode () : MapMode

public abstract function set MapMode (value : MapMode)

Remarks

Possible values are defined by the MapMode enumeration.

The mapping mode defines the unit of measure used by other properties, such as DocumentHeight and DocumentWidth.

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

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

Value

Meaning

Illegal

MapMode has been set to a value that does not exist in the MapMode enumerator. If the value is invalid, the DocumentHeight and DocumentWidth properties are reset based on the default map mode value of English and the current resolution value in the Quality property.

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
CheckScanner.DocumentHeight Property
CheckScanner.DocumentWidth Property
CheckScanner.DefineCropArea Method