Share via


ImageScanner.ImageMode Property

2/27/2008

Gets or sets a value identifying the Image mode.

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

Syntax

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

/** @property */
public abstract void set_ImageMode (ImageMode value)
public abstract function get ImageMode () : ImageMode

public abstract function set ImageMode (value : ImageMode)

Remarks

The value of this property indicates the type of data that is put into the FrameData property upon a DataEvent event.

This property is initialized by the Open method. The default value of this property is StillOnly.

Value

Meaning

DecodeOnly

The Image Scanner does not transmit still images or video to the application. However, it transmits bar code data decoded from obtained images through a Scanner service. A Hydra implementation of Image Scanner and Scanner is required for this mode.

StillOnly

The Image Scanner transmits still images. However, it does not try to read bar code data, nor does it transmit video.

StillAndDecode

The Image Scanner transmits still images, and it tries to read bar code data. However, it does not transmit video streams. A Hydra implementation of ImageScanner and Scanner is required for this mode.

VideoAndDecode

The Image Scanner transmits video streams, and it tries to read bar code data. A Hydra implementation of Image Scanner and Scanner is required for this mode.

VideoAndStill

The Image Scanner transmits video streams, and it transmits still images. However, it does not try to read bar code data. The image resolution of video data could be different from the resolution of still image data.

All

The Image Scanner transmits video streams, and it tries to read bar code data. When a bar code is read, the bar code data and a still image are transmitted. The image resolution of video data could be different from the resolution of still image data. A Hydra implementation of Image Scanner and Scanner is required for this mode.

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

ImageScanner Class
ImageScanner Members
Microsoft.PointOfService Namespace
ImageScanner.CapDecodeData Property
ImageScanner.CapImageData Property
ImageScanner.CapVideoData Property
ImageScanner.FrameData Property
ImageScanner.StartSession Method