Win32Prn() > Font methods xHarbour Developers Network  

oWin32Prn:charSet()

Queries or changes the character set for text printing.

Syntax

:charSet( [<nNewCharSet>] ) --> nOldCharSet

Arguments

<nNewCharSet>
This is a numeric value specifying the character set for printing. The following #define constants listed in WinGdi.ch can be used:

Constants for character sets
ConstantValue
ANSI_CHARSET0
DEFAULT_CHARSET *)1
SYMBOL_CHARSET2
SHIFTJIS_CHARSET128
HANGEUL_CHARSET129
HANGUL_CHARSET129
GB2312_CHARSET134
CHINESEBIG5_CHARSET136
OEM_CHARSET255
JOHAB_CHARSET130
HEBREW_CHARSET177
ARABIC_CHARSET178
GREEK_CHARSET161
TURKISH_CHARSET162
VIETNAMESE_CHARSET163
THAI_CHARSET222
EASTEUROPE_CHARSET238
RUSSIAN_CHARSET204

Description

Method :chrSet() returns the currently defined character set for text as a numeric value. When <nCharSet> is specified, the new character set is set during printing.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe