Share via


CheckScanner.Color Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets or sets the image scan mode for later document scan operations.

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

Syntax

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

/** @property */
public abstract void set_Color (CheckColors value)
public abstract function get Color () : CheckColors

public abstract function set Color (value : CheckColors)

Remarks

Possible values are defined by the CheckColors enumerator.

Available options may be affected by the current file type specified by the ImageFormat property. Certain file types may not work with all the "colors" that the device may support. It is up to the application to verify that the Color and ImageFormat properties are compatible. Changing the Color property does not affect any stored data currently residing in the ImageData property.

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

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

Value

Meaning

Illegal

Color has been set to a value that does not exist in the CheckColors enumerator.

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
CheckColors Enumeration
CheckScanner.CapColor Property
ImageFormat