Share via


LineDisplayBase.MapCharacterSet Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

If true, then the service object is able to map the characters provided by the application to the character sets defined in the CharacterSetList property when displaying data.

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

Syntax

'Declaration
Public Overrides Property MapCharacterSet As Boolean
public override bool MapCharacterSet { get; set; }
public:
virtual property bool MapCharacterSet {
    bool get () override;
    void set (bool value) override;
}
/** @property */
public boolean get_MapCharacterSet ()

/** @property */
public void set_MapCharacterSet (boolean value)
public override function get MapCharacterSet () : boolean

public override function set MapCharacterSet (value : boolean)

Remarks

LineDisplayBase class verifies that the device has been opened, then retrieves or sets the value of LineDisplayProperties.MapCharacterSet. The LineDisplayBase class may cause a PosControlException to be thrown with the following ErrorCode:

Value

Meaning

Illegal

The application has set MapCharacterSet and CapMapCharacterSet to false.

MapCharacterSet is initialized to false by the LineDisplayProperties class.

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.MapCharacterSet Property
LineDisplay.CapMapCharacterSet Property