Share via


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

2/27/2008

Gets or sets the Boolean value that indicates whether the Line Display device supports mapping character sets.

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

Syntax

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

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

public abstract function set MapCharacterSet (value : boolean)

Remarks

If true when outputting data, the service object maps the characters transferred by the application to the character set selected in the CharacterSet property.

If false, no mapping is supported. In such a case, the application has to guarantee the mapping of the character set used in the application to the character set selected in the CharacterSet property.

If CapMapCharacterSet is set to false, then MapCharacterSet is always false.

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

Value

Meaning

Illegal

MapCharacterSet was set to true. However, the CapMapCharacterSet property is set to false. This indicates the device does not support character set mapping.

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