Documentation Center

PslLanguage.Option

Returns or changes some options of the target language.

Syntax

Expression.Option (Name as Long) as Variant

Expression Required. Object of type PslLanguage

Name Specifies the option to read or change. It can be one of these values:

pslOptionActualCodepage (Value = 4): The codepage for converting strings from unicode to DBCS.

pslOptionCodepage (Value = 2): The codepage for converting strings from unicode to DBCS. If the default codepage of the language is used, this option returns 0.

pslOptionFont (Value = 3): Returns the font which is used to display the translation strings. This has the format "<Fontname>,<Fontsize>", i.e. "Arial,9". An empty font string stands for the system (default) font.

pslOptionLangID (Value = 1): Returns the language ID of the language. Same as PslLanguage.LangID