VpeSetGUILanguage

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeSetGUILanguage

Previous pageReturn to chapter overviewNext page

[Windows platform only]

By default, VPE chooses the language for its GUI (Graphical User Interface) by querying the current chosen language in the control panel of the system. With this property you can override that default behavior and force VPE to use a specific language.

void VpeSetGUILanguage(

VpeHandle hDoc,

int language

)

VpeHandle hDoc

Document Handle

int language

available languages are:

Constant

Value

Comment

VGUI_LANGUAGE_USER_DEFINED

-1

 

VGUI_LANGUAGE_ENGLISH

0

 

VGUI_LANGUAGE_GERMAN

1

 

VGUI_LANGUAGE_FRENCH

2

 

VGUI_LANGUAGE_DUTCH

3

 

VGUI_LANGUAGE_SPANISH

4

 

VGUI_LANGUAGE_DANISH

5

 

VGUI_LANGUAGE_SWEDISH

6

 

VGUI_LANGUAGE_FINNISH

7

 

VGUI_LANGUAGE_ITALIAN

8

 

VGUI_LANGUAGE_NORWEGIAN

9

 

VGUI_LANGUAGE_PORTUGUESE

10

 

Default:

depends on the chosen language in the control panel of the system

Remarks:

If you set the GUILanguage to UserDefined, you can specify freely any text in any language for each element of the GUI using VpeSetResourceString().

Example:

VpeSetGUILanguage(hDoc, VGUI_LANGUAGE_SPANISH)

forces VPE to use spanish as language for the GUI