Share via


PointCardRW.CharacterSet Property

2/27/2008

Gets or sets the character set for printing characters.

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

Syntax

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

/** @property */
public abstract void set_CharacterSet (int value)
public abstract function get CharacterSet () : int

public abstract function set CharacterSet (value : int)

Remarks

The CharacterSet property is updated by the service object, based on the capabilities of the device.

Values are as follows:

Value

Meaning

Range 101 - 199

Device-specific character sets that do not match a code page or the ASCII or Windows ANSI character sets.

Range 400 - 990

Code page; matches one of the standard values.

Unicode

The character set supports UNICODE.

Ascii

The ASCII character set, supporting the ASCII characters between 0x20 and 0x7F. The value of this constant is 998.

Windows

The Windows ANSI character set. The value of this constant is 999. This is exactly the same as the Windows code page 1252.

Range 1000 and higher

Windows code page; matches one of the standard values.

Accessing the CharacterSet property may throw a PosControlException exception with the following ErrorCodes:

Value

Meaning

Illegal

An invalid property value was used.

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

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
CharacterSetList