Share via


PosPrinter.MapCharacterSet Property

2/27/2008

Gets a Boolean value that indicates whether the service object maps the characters transferred by the application to the character set selected in the CharacterSet property.

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 set to true by the application while 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 occurs. When set to false, the application has to guarantee the mapping of the character set used by the application to the character set selected in the CharacterSet property.

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

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

Value

Meaning

Illegal

CapMapCharacterSet is set to false. This indicates that character set mapping is not supported by this device.

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

PosPrinter Class
PosPrinter Members
Microsoft.PointOfService Namespace
PosPrinter.CharacterSet Property
PosPrinter.CapMapCharacterSet Property