LineDisplay.CharacterSet Property
2/27/2008
Gets or sets the character set for displaying 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
CharacterSet may be one of the following ranges or values.
Value |
Meaning |
Range 101 - 199 |
A device-specific character set that does not match a code page or the ASCII or Windows ANSI character sets. |
Range 400 - 990 |
Code page; matches one of the standard values. |
CharacterSetUnicode |
The character set supports Unicode. The value of this constant is 997. |
CharacterSetAscii |
The ASCII character set, supporting the ASCII characters between 0x20 and 0x7F. The value of this constant is 998. |
CharacterSetAnsi |
The Windows ANSI character set. The value of this constant is 999. This is exactly equal to the Windows code page 1252. |
Range 1000 and higher |
Windows code page; matches one of the standard values. |
CharacterSet is typically initialized to zero (0). This value is guaranteed to support at least the set of characters specified by the CapCharacterSet property.
Accessing CharacterSet may cause a PosControlException to be thrown with the following ErrorCode.
Value |
Meaning |
Illegal |
CharacterSet has been set to a value that does not exist in the character sets listed for the CharacterSetList property. |
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
CharacterSetList
LineDisplay.CapCharacterSet Property