Share via


ImageScanner.VideoRate Property

2/27/2008

Gets or sets a value identifying the number of video frames per second that the application can receive.

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

Syntax

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

/** @property */
public abstract void set_VideoRate (int value)
public abstract function get VideoRate () : int

public abstract function set VideoRate (value : int)

Remarks

The default value of this property is 30 frames per second.

The application can set this property and the VideoCount property to throttle the number of DataEvent events that are raised. For example, with the default values of the VideoCount and VideoRate properties, the application would get a DataEvent event two times a second.

If the value of this property is larger than the Image Scanner ’s maximum supported rate, the value of this property will be coerced by the Service to the Image Scanner’s maximum supported rate.

The Image Scanner may discard frames of image data that exceed the specified VideoRate property.

This property is initialized by the Open method.

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.VideoCount Property