Share via


LineDisplay.BlinkRate Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets or sets the blink cycle in milliseconds.

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

Syntax

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

/** @property */
public abstract void set_BlinkRate (int value)
public abstract function get BlinkRate () : int

public abstract function set BlinkRate (value : int)

Remarks

A blink cycle is the time when text completes an on-off-on cycle during blinking. After BlinkRate is set, the service object sets the blink rate to the closest supported rate and change BlinkRate to reflect the actual rate. Performing this approximation is necessary because blink cycles are hardware-dependent and probably not controllable at precise milliseconds.

BlinkRate is typically initialized to 0 (zero).

Accessing BlinkRate may cause a PosControlException to be thrown with the following ErrorCode.

Value

Meaning

Illegal

BlinkRate has been set to a value less than zero, or BlinkRate has been set to a valid value, but the CapBlinkRate property is set to false. This indicates that the device does not support blinking.

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

LineDisplay Class
LineDisplay Members
Microsoft.PointOfService Namespace
CapBlinkRate