Share via


LineDisplayBase.CapCharacterSet Property

2/27/2008

Holds the default character set capability of the line display device.

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

Syntax

'Declaration
Public Overrides ReadOnly Property CapCharacterSet As CharacterSetCapability
public override CharacterSetCapability CapCharacterSet { get; }
public:
virtual property CharacterSetCapability CapCharacterSet {
    CharacterSetCapability get () override;
}
/** @property */
public CharacterSetCapability get_CapCharacterSet ()
public override function get CapCharacterSet () : CharacterSetCapability

Remarks

LineDisplayBase class verifies that the device has been opened, then retrieves the value of LineDisplayProperties.CapCharacterSet.

CapCharacterSet is initialized to CharacterSetCapability.Numeric by the LineDisplayProperties class. The LineDisplayProperties class may throw a PosControlException with the following ErrorCode:

Value

Meaning

Illegal

The service object has set CapCharacterSet to an invalid CharacterSetCapability value.

The service object should update CapCharacterSet to an appropriate value in its 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

LineDisplayBase Class
LineDisplayBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
LineDisplay.CapCharacterSet Property
CharacterSetCapability Enumeration